Share via


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

Return Value

Type: System.Web.Razor.Tokenizer.Symbols.VBSymbol
The created VBSymbol.

See Also

Reference

VBLanguageCharacteristics Class

System.Web.Razor.Parser Namespace