Tokenizer(Of TSymbol, TSymbolType).CreateSymbol Method

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

Creates a language symbol type for the tokenizer with the specified content.

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

'Declaration
Protected MustOverride Function CreateSymbol ( _
	start As SourceLocation, _
	content As String, _
	type As TSymbolType, _
	errors As IEnumerable(Of RazorError) _
) As TSymbol
'Usage
Dim start As SourceLocation 
Dim content As String 
Dim type As TSymbolType
Dim errors As IEnumerable(Of RazorError)
Dim returnValue As TSymbol

returnValue = Me.CreateSymbol(start, _
	content, type, errors)

Parameters

start
Type: System.Web.Razor.Text.SourceLocation
The start of the source location.
content
Type: System.String
The content value.
type
Type: TSymbolType
The symbol type.
errors
Type: System.Collections.Generic.IEnumerable(Of RazorError)
The razor error.

Return Value

Type: TSymbol
A language symbol type for the tokenizer.
Show: