CSharpSymbol Constructor (SourceLocation, String, CSharpSymbolType, IEnumerable(Of RazorError))

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 CSharpSymbol class.

Namespace:  System.Web.Razor.Tokenizer.Symbols
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

'Declaration
Public Sub New ( _
	start As SourceLocation, _
	content As String, _
	type As CSharpSymbolType, _
	errors As IEnumerable(Of RazorError) _
)
'Usage
Dim start As SourceLocation 
Dim content As String 
Dim type As CSharpSymbolType 
Dim errors As IEnumerable(Of RazorError)

Dim instance As New CSharpSymbol(start, content, _
	type, errors)

Parameters

start
Type: System.Web.Razor.Text.SourceLocation
The location to start the symbol.
content
Type: System.String
The content of the symbol.
type
Type: System.Web.Razor.Tokenizer.Symbols.CSharpSymbolType
The type of the symbol.
errors
Type: System.Collections.Generic.IEnumerable(Of RazorError)
A list of errors.
Show: