Share via


Block.Name Property

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

Gets the string name of the block.

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

Syntax

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

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

Property Value

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

See Also

Reference

Block Class

System.Web.Razor.Parser.SyntaxTree Namespace