Share via


CSharpCodeParser.Block.Name Property

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

Gets or sets the string name for the block.

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

Syntax

'Declaration
Public Property Name As String 
    Get 
    Set
'Usage
Dim instance As CSharpCodeParser.Block 
Dim value As String 

value = instance.Name

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

Property Value

Type: System.String
The string name for the block.

See Also

Reference

CSharpCodeParser.Block Class

System.Web.Razor.Parser Namespace