Export (0) Print
Expand All

DirectoryInfo Members

Exposes instance methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited.

The DirectoryInfo type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework DirectoryInfo Initializes a new instance of the DirectoryInfo class on the specified path.
Top

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework 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 Supported by the XNA 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 Supported by the XNA Framework Delete Overloaded. Deletes a DirectoryInfo and its contents from a path.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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 Supported by the XNA Framework GetDirectories Overloaded. Returns the subdirectories of the current directory.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetFiles Overloaded. Returns a file list from the current directory.
Public method Supported by the .NET Compact Framework Supported by the XNA 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 Supported by the XNA Framework GetHashCode Serves as a hash function for a particular type. (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 Supported by the XNA 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.)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone Overloaded.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework MoveTo Moves a DirectoryInfo instance and its contents to a new path.
Public method Supported by the .NET Compact Framework Supported by the XNA 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 Supported by the XNA Framework ToString Returns the original path that was passed by the user. (Overrides Object.ToString().)
Top

  NameDescription
Protected field Supported by the .NET Compact Framework Supported by the XNA Framework FullPath Represents the fully qualified path of the directory or file. (Inherited from FileSystemInfo.)
Protected field Supported by the .NET Compact Framework Supported by the XNA Framework OriginalPath The path originally specified by the user, whether relative or absolute. (Inherited from FileSystemInfo.)
Top

  NameDescription
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Attributes Gets or sets the current directory or file. (Inherited from FileSystemInfo.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework CreationTime Gets or sets the creation time of the current directory or file. (Inherited from FileSystemInfo.)
Public property CreationTimeUtc Gets or sets the creation time, in coordinated universal time (UTC), of the current directory or file. (Inherited from FileSystemInfo.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Exists Gets a value indicating whether the directory exists. (Overrides FileSystemInfo.Exists.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Extension Gets the string representing the extension part of the file. (Inherited from FileSystemInfo.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework FullName Gets the full path of the directory or file. (Inherited from FileSystemInfo.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework LastAccessTime Gets or sets the time the current file or directory was last accessed. (Inherited from FileSystemInfo.)
Public property LastAccessTimeUtc Gets or sets the time, in coordinated universal time (UTC), that the current file or directory was last accessed. (Inherited from FileSystemInfo.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework LastWriteTime Gets or sets the time when the current file or directory was last written to. (Inherited from FileSystemInfo.)
Public property LastWriteTimeUtc Gets or sets the time, in coordinated universal time (UTC), when the current file or directory was last written to. (Inherited from FileSystemInfo.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Name Gets the name of this DirectoryInfo instance. (Overrides FileSystemInfo.Name.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Parent Gets the parent directory of a specified subdirectory.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Root Gets the root portion of a path.
Top

Community Additions

ADD
Show:
© 2014 Microsoft