This documentation is archived and is not being maintained.

VirtualDirectory Members

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

The following tables list the members exposed by the VirtualDirectory type.

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

  Name Description
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.
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)

(see also Protected Methods )
  Name Description
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  Overloaded. Determines whether two Object instances are equal. (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)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)