This documentation is archived and is not being maintained.
Represents a file object in a virtual file or resource space.
The VirtualFile 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.)|
|Open||When overridden in a derived class, returns a read-only stream to the virtual resource.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
|IsDirectory||Gets a value that indicates that this is a virtual resource that should be treated as a file. (Overrides VirtualFileBase.IsDirectory.)|
|Name||Gets the display name of the virtual resource. (Inherited from VirtualFileBase.)|
|VirtualPath||Gets the virtual file path. (Inherited from VirtualFileBase.)|