Share via


CSharpCodeParser.Block Constructor (String, SourceLocation)

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

Initializes a new instance of the CSharpCodeParser.Block class.

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

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    start As SourceLocation _
)
'Usage
Dim name As String 
Dim start As SourceLocation 

Dim instance As New CSharpCodeParser.Block(name, start)
public Block(
    string name,
    SourceLocation start
)
public:
Block(
    String^ name, 
    SourceLocation start
)
new : 
        name:string * 
        start:SourceLocation -> Block
public function CSharpCodeParser.Block(
    name : String, 
    start : SourceLocation
)

Parameters

See Also

Reference

CSharpCodeParser.Block Class

CSharpCodeParser.Block Overload

System.Web.Razor.Parser Namespace