VirtualFile Members

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

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

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

  Name Description
Public property IsDirectory Overridden. Gets a value that indicates that this is a virtual resource that should be treated as a file.
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 Open When overridden in a derived class, returns a read-only stream to the virtual resource.
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)