October 2010
Intermediate to advanced
1920 pages
73h 55m
English
VirtualPathProvider ClassThe VirtualPathProvider class is a MustInherit (abstract) class. It contains the following methods, which you can override:
• CombineVirtualPaths
()—Returns a combined path from two paths.
• DirectoryExists()—
Returns true when a directory exists.
• FileExists()—
Returns true when a file exists.
• GetCacheDependency()—
Returns a cache dependency object that indicates when a file has been changed.
• GetCacheKey()—
Returns the key used by the cache dependency.
• GetDirectory()—
Returns a VirtualDirectory.
• GetFile()—
Returns a VirtualFile.
• GetFileHash()—
Returns a hash of the files used by the cache dependency.
• OpenFile()—
Returns the contents of a file.
Typically, you override the FileExists()
Read now
Unlock full access