WebPageBase.CreateInstanceFromVirtualPath Method

Creates a new instance of the WebPageBase class by using the specified virtual path.

Namespace:  System.Web.WebPages
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

public static WebPageBase CreateInstanceFromVirtualPath(
	string virtualPath
)

Parameters

virtualPath
Type: System.String
The virtual path to use to create the instance.

Return Value

Type: System.Web.WebPages.WebPageBase
The new WebPageBase object.
Show: