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)

'Declaration
Protected Overridable Function GetClassName ( _
	virtualPath As String _
) As String
'Usage
Dim virtualPath As String 
Dim returnValue As String 

returnValue = Me.GetClassName(virtualPath)

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: