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 following tables list the members exposed by the VirtualPathProvider type.

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

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

(see also Protected Methods )
  Name Description
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  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method FileExists Gets a value that indicates whether a file exists in the virtual file system.
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)
Public method InitializeLifetimeService Overridden. Gives the VirtualPathProvider object an infinite lifetime by preventing a lease from being created.
Public method Static OpenFile Returns a stream from a virtual file.
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 Initialize Initializes the VirtualPathProvider instance.
Protected method MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)