Share via


HtmlLanguageCharacteristics.CreateSymbol Method

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

Creates a symbol in the Html.

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 HtmlSymbolType, _
    errors As IEnumerable(Of RazorError) _
) As HtmlSymbol
'Usage
Dim location As SourceLocation 
Dim content As String 
Dim type As HtmlSymbolType 
Dim errors As IEnumerable(Of RazorError)
Dim returnValue As HtmlSymbol 

returnValue = Me.CreateSymbol(location, _
    content, type, errors)
protected override HtmlSymbol CreateSymbol(
    SourceLocation location,
    string content,
    HtmlSymbolType type,
    IEnumerable<RazorError> errors
)
protected:
virtual HtmlSymbol^ CreateSymbol(
    SourceLocation location, 
    String^ content, 
    HtmlSymbolType type, 
    IEnumerable<RazorError^>^ errors
) override
abstract CreateSymbol : 
        location:SourceLocation * 
        content:string * 
        type:HtmlSymbolType * 
        errors:IEnumerable<RazorError> -> HtmlSymbol  
override CreateSymbol : 
        location:SourceLocation * 
        content:string * 
        type:HtmlSymbolType * 
        errors:IEnumerable<RazorError> -> HtmlSymbol
protected override function CreateSymbol(
    location : SourceLocation, 
    content : String, 
    type : HtmlSymbolType, 
    errors : IEnumerable<RazorError>
) : HtmlSymbol

Parameters

Return Value

Type: System.Web.Razor.Tokenizer.Symbols.HtmlSymbol
A symbol in the Html.

See Also

Reference

HtmlLanguageCharacteristics Class

System.Web.Razor.Parser Namespace