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
- name
Type: System.String
The string name.
- start
Type: System.Web.Razor.Text.SourceLocation
The start of the source location.