Gets a reference to a previously registered VirtualPathProvider object in the compilation system.
Assembly: System.Web (in System.Web.dll)
When a VirtualPathProvider object is registered with the ASP.NET compilation system, it is added to a chain of providers. Use the property to hand processing off to the previous VirtualPathProvider object in the chain if the requested path is not provided by this VirtualPathProvider instance.
The chain of path providers always ends with the default ASP.NET provider, which serves files from the file system.
The following code example is an implementation of the GetFile method. If the requested virtual directory does not begin with the string "/vrdir", the method uses the property to pass the request to the next VirtualPathProvider object in the chain. For the full code required to run the example, see the Example section of the VirtualPathProvider class overview topic.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.