WebPageRazorHost.GetClassName Method

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Retrieves the name of the class to which the specified webpage belongs.

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

protected function GetClassName(
	virtualPath : String
) : String

Parameters

virtualPath
Type: System.String
The virtual file path.

Return Value

Type: System.String
The name of the class to which the specified webpage belongs.
Show: