This documentation is archived and is not being maintained.
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.
|CombineVirtualPaths||Combines a base path with a relative path to return a complete path to a virtual resource.|
|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.)|
|DirectoryExists||Gets a value that indicates whether a directory exists in the virtual file system.|
|Equals||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|FileExists||Gets a value that indicates whether a file exists in the virtual file system.|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetCacheDependency||Creates a cache dependency based on the specified virtual paths.|
|GetCacheKey||Returns a cache key to use for the specified virtual path.|
|GetDirectory||Gets a virtual directory from the virtual file system.|
|GetFile||Gets a virtual file from the virtual file system.|
|GetFileHash||Returns a hash of the specified virtual paths.|
|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.)|
|Initialize||Initializes the VirtualPathProvider instance.|
|InitializeLifetimeService||Gives the VirtualPathProvider object an infinite lifetime by preventing a lease from being created. (Overrides MarshalByRefObject.InitializeLifetimeService().)|
|OpenFile||Returns a stream from a virtual file.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|