This documentation is archived and is not being maintained.

VirtualFile Members

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

The VirtualFile type exposes the following members.

Protected method VirtualFile Initializes a new instance of the VirtualFile 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 Open When overridden in a derived class, returns a read-only stream to the virtual resource.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Public property IsDirectory Gets a value that indicates that this is a virtual resource that should be treated as a file. (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.)