Represents a directory object in a virtual file or resource space.
The VirtualDirectory type exposes the following members.
|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.)|
|Equals||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetLifetimeService||Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)|
|GetType||Gets the type of the current instance. (Inherited from Object.)|
|InitializeLifetimeService||Gives a VirtualFileBase instance an infinite lifetime by preventing a lease from being created. (Inherited from VirtualFileBase.)|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
|Children||Gets a list of the files and subdirectories contained in this virtual directory.|
|Directories||Gets a list of all the subdirectories contained in this directory.|
|Files||Gets a list of all files contained in this directory.|
|IsDirectory||Gets a value that indicates that this is a virtual resource that should be treated as a directory. (Overrides VirtualFileBase.IsDirectory.)|
|Name||Gets the display name of the virtual resource. (Inherited from VirtualFileBase.)|
|VirtualPath||Gets the virtual file path. (Inherited from VirtualFileBase.)|