The LocalItem type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkLocalItem
Initializes a new instance of the LocalItem class.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkComputeCrc32
Computes the CRC32 (Cyclic Redundancy Check) value of the file.
Public methodSupported by the .NET Compact FrameworkDelete
Deletes the local item.
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkGetCreationTime
Gets the creation time of the item.
(Overrides FileSystemItem..::..GetCreationTime()()()().)
Public methodSupported by the .NET Compact FrameworkGetDirectories
Gets the list of directory items in a directory represented by this object. Fails if this object is not a directory.
Public methodSupported by the .NET Compact FrameworkGetFiles
Gets the list of file items in a directory represented by this object. Fails if this object is not a directory.
Public methodSupported by the .NET Compact FrameworkGetHashCode
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodStatic memberSupported by the .NET Compact FrameworkGetChecksum(String, ChecksumAlgorithm)
Calculates the checksum for the specified file.
Public methodStatic memberSupported by the .NET Compact FrameworkGetChecksum(String, ChecksumAlgorithm, Int64, Int64)
Calculates the checksum of the specified part of the specified file.
Protected methodSupported by the .NET Compact FrameworkGetLastAccessTime
Gets the last access time of the item.
(Overrides FileSystemItem..::..GetLastAccessTime()()()().)
Protected methodSupported by the .NET Compact FrameworkGetLastWriteTime
Gets the last modification time of the item.
(Overrides FileSystemItem..::..GetLastWriteTime()()()().)
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSetCreationTime
Sets the creation time of the item.
Public methodSupported by the .NET Compact FrameworkSetLastAccessTime
Sets the last access time of the item.
Public methodSupported by the .NET Compact FrameworkSetLastWriteTime
Sets the last modification time of the item.
Public methodSupported by the .NET Compact FrameworkToString
Returns the full path of the item.
(Overrides Object..::..ToString()()()().)

Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkAttributes
Gets item attributes.
Public propertySupported by the .NET Compact FrameworkCreationTime
Gets the creation time of the item.
(Inherited from FileSystemItem.)
Public propertySupported by the .NET Compact FrameworkExists
Gets a value indicating whether the file or directory exists.
Public propertySupported by the .NET Compact FrameworkFullPath
Gets the full path of the file or directory.
Public propertySupported by the .NET Compact FrameworkIsDirectory
Gets a value indicating whether the item is a directory.
(Overrides FileSystemItem..::..IsDirectory.)
Public propertySupported by the .NET Compact FrameworkIsFile
Gets a value indicating whether the item is a file.
(Overrides FileSystemItem..::..IsFile.)
Public propertySupported by the .NET Compact FrameworkIsLink
Gets a value indicating whether the item is a link.
(Overrides FileSystemItem..::..IsLink.)
Public propertySupported by the .NET Compact FrameworkLastAccessTime
Gets the last access time of the item.
(Inherited from FileSystemItem.)
Public propertySupported by the .NET Compact FrameworkLastWriteTime
Gets the last modification time of the item.
(Inherited from FileSystemItem.)
Public propertySupported by the .NET Compact FrameworkLength
Gets file length.
(Overrides FileSystemItem..::..Length.)
Public propertySupported by the .NET Compact FrameworkName
Gets the name of the file or directory.
(Overrides FileSystemItem..::..Name.)
Public propertySupported by the .NET Compact FrameworkPath
Gets the relative path of the file or directory.
(Overrides FileSystemItem..::..Path.)

See Also