Freigeben über


HtmlLanguageCharacteristics.CreateSymbol Methode

Definition

Dieser Typ/Member unterstützt die .NET Framework-Infrastruktur und ist nicht für die direkte Verwendung aus Ihrem Code vorgesehen. Erstellt ein Symbol im Html-Code.

protected override System.Web.Razor.Tokenizer.Symbols.HtmlSymbol CreateSymbol(System.Web.Razor.Text.SourceLocation location, string content, System.Web.Razor.Tokenizer.Symbols.HtmlSymbolType type, System.Collections.Generic.IEnumerable<System.Web.Razor.Parser.SyntaxTree.RazorError> errors);
override this.CreateSymbol : System.Web.Razor.Text.SourceLocation * string * System.Web.Razor.Tokenizer.Symbols.HtmlSymbolType * seq<System.Web.Razor.Parser.SyntaxTree.RazorError> -> System.Web.Razor.Tokenizer.Symbols.HtmlSymbol
Protected Overrides Function CreateSymbol (location As SourceLocation, content As String, type As HtmlSymbolType, errors As IEnumerable(Of RazorError)) As HtmlSymbol

Parameter

location
SourceLocation

Der Quellspeicherort.

content
String

Der Inhaltswert.

type
HtmlSymbolType

Der HTML-Symboltyp.

errors
IEnumerable<RazorError>

Liste der Fehler.

Gibt zurück

Ein Symbol in HTML.

Gilt für: