This documentation is archived and is not being maintained.

VirtualPathProvider Members

Provides a set of methods that enable a Web application to retrieve resources from a virtual file system.

The VirtualPathProvider type exposes the following members.

Protected method VirtualPathProvider Initializes the class for use by an inherited class instance. This constructor can be called only by an inherited class.

Public method CombineVirtualPaths Combines a base path with a relative path to return a complete path to a virtual resource.
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 DirectoryExists Gets a value that indicates whether a directory exists in the virtual file system.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method FileExists Gets a value that indicates whether a file exists in the virtual file system.
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 GetCacheDependency Creates a cache dependency based on the specified virtual paths.
Public method GetCacheKey Returns a cache key to use for the specified virtual path.
Public method GetDirectory Gets a virtual directory from the virtual file system.
Public method GetFile Gets a virtual file from the virtual file system.
Public method GetFileHash Returns a hash of the specified virtual paths.
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.)
Protected method Initialize Initializes the VirtualPathProvider instance.
Public method InitializeLifetimeService Gives the VirtualPathProvider object an infinite lifetime by preventing a lease from being created. (Overrides MarshalByRefObject.InitializeLifetimeService().)
Protected method MemberwiseClone Overloaded.
Public method Static member OpenFile Returns a stream from a virtual file.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Protected property Previous Gets a reference to a previously registered VirtualPathProvider object in the compilation system.