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
- location
Type: System.Web.Razor.Text.SourceLocation
The source location.
- content
Type: System.String
The content value.
- type
Type: System.Web.Razor.Tokenizer.Symbols.HtmlSymbolType
The html symbol type.
- errors
Type: System.Collections.Generic.IEnumerable<RazorError>
List of errors.
Return Value
Type: System.Web.Razor.Tokenizer.Symbols.HtmlSymbol
A symbol in the Html.