This documentation is archived and is not being maintained.

VirtualDirectory Members

Represents a directory object in a virtual file or resource space.

The VirtualDirectory type exposes the following members.

Protected method VirtualDirectory Initializes a new instance of the VirtualDirectory class.

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 Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method 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 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 GetType Gets the type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Gives a VirtualFileBase instance an infinite lifetime by preventing a lease from being created. (Inherited from VirtualFileBase.)
Protected method MemberwiseClone Overloaded.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Public property Children Gets a list of the files and subdirectories contained in this virtual directory.
Public property Directories Gets a list of all the subdirectories contained in this directory.
Public property Files Gets a list of all files contained in this directory.
Public property IsDirectory Gets a value that indicates that this is a virtual resource that should be treated as a directory. (Overrides VirtualFileBase.IsDirectory.)
Public property Name Gets the display name of the virtual resource. (Inherited from VirtualFileBase.)
Public property VirtualPath Gets the virtual file path. (Inherited from VirtualFileBase.)