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)
Syntax
'Declaration
Protected Overridable Function GetClassName ( _
virtualPath As String _
) As String
'Usage
Dim virtualPath As String
Dim returnValue As String
returnValue = Me.GetClassName(virtualPath)
protected virtual string GetClassName(
string virtualPath
)
protected:
virtual String^ GetClassName(
String^ virtualPath
)
abstract GetClassName :
virtualPath:string -> string
override GetClassName :
virtualPath:string -> string
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.