Export (0) Print
Expand All

FileSystemInfo Members

Provides the base class for both FileInfo and DirectoryInfo objects.

The FileSystemInfo type exposes the following members.

  NameDescription
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework FileSystemInfo Overloaded. Initializes a new instance of the FileSystemInfo class.
Top

  NameDescription
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 Delete Deletes a file or directory.
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 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.
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 Refresh Refreshes the state of the object.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString Returns a string that represents the current object. (Inherited from Object.)
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.
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.
Top

  NameDescription
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Attributes Gets or sets the current directory or file.
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.
Public property CreationTimeUtc Gets or sets the creation time, in coordinated universal time (UTC), of the current directory or file.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Exists Gets a value indicating whether the file or directory 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.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework FullName Gets the full path of the directory or file.
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.
Public property LastAccessTimeUtc Gets or sets the time, in coordinated universal time (UTC), that the current file or directory was last accessed.
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.
Public property LastWriteTimeUtc Gets or sets the time, in coordinated universal time (UTC), when the current file or directory was last written to.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Name For files, gets the name of the file. For directories, gets the name of the last directory in the hierarchy if a hierarchy exists. Otherwise, the Name property gets the name of the directory.
Top

Community Additions

ADD
Show:
© 2014 Microsoft