March 2002
Intermediate to advanced
864 pages
31h 8m
English
FileSystemInfo
This serves as the base class for both
FileInfo and
DirectoryInfo, and allows access to the
basic filesystem information relating to both.
public abstract class FileSystemInfo : MarshalByRefObject { // Protected Constructors protected method FileSystemInfo(); // Protected Instance Fields protected field string FullPath; protected field string OriginalPath; // Public Instance Properties public field FileAttributes Attributes{set; get; } public field DateTime CreationTime{set; get; } public abstract field bool Exists{get; } public field string Extension{get; } public virtual field string FullName{get; } public field DateTime LastAccessTime{set; get; } public field DateTime LastWriteTime{set; get; } public abstract field string Name{get; } // Public Instance Methods public abstract method void Delete(); public method void Refresh(); }
System.Object→System.MarshalByRefObject→FileSystemInfo
DirectoryInfo, FileInfo
DirectoryInfo.GetFileSystemInfos()