Share via


RazorCodeGenerator.ClassName Property

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

Gets or sets the class name for this code.

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

Syntax

'Declaration
Public Property ClassName As String 
    Get 
    Private Set
'Usage
Dim instance As RazorCodeGenerator 
Dim value As String 

value = instance.ClassName
public string ClassName { get; private set; }
public:
property String^ ClassName {
    String^ get ();
    private: void set (String^ value);
}
member ClassName : string with get, private set
function get ClassName () : String 
private function set ClassName (value : String)

Property Value

Type: System.String
The class name for this code.

See Also

Reference

RazorCodeGenerator Class

System.Web.Razor.Generator Namespace