VBLanguageCharacteristics.CreateSymbol Method
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Creates a Visual Basic symbol.
Namespace: System.Web.Razor.Parser
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Protected Overrides Function CreateSymbol ( _
location As SourceLocation, _
content As String, _
type As VBSymbolType, _
errors As IEnumerable(Of RazorError) _
) As VBSymbol
'Usage
Dim location As SourceLocation
Dim content As String
Dim type As VBSymbolType
Dim errors As IEnumerable(Of RazorError)
Dim returnValue As VBSymbol
returnValue = Me.CreateSymbol(location, _
content, type, errors)
protected override VBSymbol CreateSymbol(
SourceLocation location,
string content,
VBSymbolType type,
IEnumerable<RazorError> errors
)
protected:
virtual VBSymbol^ CreateSymbol(
SourceLocation location,
String^ content,
VBSymbolType type,
IEnumerable<RazorError^>^ errors
) override
abstract CreateSymbol :
location:SourceLocation *
content:string *
type:VBSymbolType *
errors:IEnumerable<RazorError> -> VBSymbol
override CreateSymbol :
location:SourceLocation *
content:string *
type:VBSymbolType *
errors:IEnumerable<RazorError> -> VBSymbol
protected override function CreateSymbol(
location : SourceLocation,
content : String,
type : VBSymbolType,
errors : IEnumerable<RazorError>
) : VBSymbol
Parameters
- location
Type: System.Web.Razor.Text.SourceLocation
The location to create the symbol.
- content
Type: System.String
The content.
- type
Type: System.Web.Razor.Tokenizer.Symbols.VBSymbolType
The type of the symbol.
- errors
Type: System.Collections.Generic.IEnumerable<RazorError>
The errors.
Return Value
Type: System.Web.Razor.Tokenizer.Symbols.VBSymbol
The created VBSymbol.