System.Web.Hosting.VirtualPathProvider.GetFile Method

Gets a virtual file from the virtual file system.

Syntax

public virtual VirtualFile GetFile (string virtualPath)

Parameters

virtualPath
The path to the virtual file.

Returns

A descendent of the System.Web.Hosting.VirtualFile class that represents a file in the virtual file system.

Remarks

The VirtualPathProvider.GetFile(string) method returns a descendent of the System.Web.Hosting.VirtualFile class that represents the file specified by the virtualPath parameter.

Requirements

Namespace: System.Web.Hosting
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0