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)

abstract GetClassName : 
        virtualPath:string -> string  
override 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: