Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DirectoryInfo Methods

  Name Description
Public method Create Overloaded. Creates a directory.
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Supported by the .NET Compact Framework CreateSubdirectory Overloaded. Creates a subdirectory or subdirectories on the specified path. The specified path can be relative to this instance of the DirectoryInfo class.
Public method Supported by the .NET Compact Framework Delete Overloaded. Overridden. Deletes a DirectoryInfo and its contents from a path.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetAccessControl Overloaded. Gets the access control list (ACL) entries for the current directory.
Public method Supported by the .NET Compact Framework GetDirectories Overloaded. Returns the subdirectories of the current directory.
Public method Supported by the .NET Compact Framework GetFiles Overloaded. Returns a file list from the current directory.
Public method Supported by the .NET Compact Framework GetFileSystemInfos Overloaded. Retrieves an array of strongly typed FileSystemInfo objects representing files and subdirectories of the current directory.
Public method Supported by the .NET Compact Framework GetHashCode  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 method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetObjectData  Sets the SerializationInfo object with the file name and additional exception information. (Inherited from FileSystemInfo.)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Supported by the .NET Compact Framework MoveTo Moves a DirectoryInfo instance and its contents to a new path.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Refresh  Refreshes the state of the object. (Inherited from FileSystemInfo.)
Public method SetAccessControl Applies access control list (ACL) entries described by a DirectorySecurity object to the directory described by the current DirectoryInfo object.
Public method Supported by the .NET Compact Framework ToString Overridden. Returns the original path that was passed by the user.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft