This documentation is archived and is not being maintained.
VirtualPathProvider::GetCacheKey Method
Visual Studio 2010
Returns a cache key to use for the specified virtual path.
Assembly: System.Web (in System.Web.dll)
Parameters
- virtualPath
- Type: System::String
The path to the virtual resource.
Use the GetCacheKey method to provide a custom cache key for virtual resources. If you do not override the GetCacheKey method, the virtual path is used for the cache key.
Notes to InheritorsOnly override the default GetCacheKey method if creating a cache key based on the virtual path will not work for your application.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: