Share via


LanguageCharacteristics<TTokenizer,TSymbol,TSymbolType>.IsKnownSymbolType Method

Definition

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

public virtual bool IsKnownSymbolType (TSymbol symbol, System.Web.Razor.Tokenizer.Symbols.KnownSymbolType type);
abstract member IsKnownSymbolType : 'Symbol * System.Web.Razor.Tokenizer.Symbols.KnownSymbolType -> bool
override this.IsKnownSymbolType : 'Symbol * System.Web.Razor.Tokenizer.Symbols.KnownSymbolType -> bool
Public Overridable Function IsKnownSymbolType (symbol As TSymbol, type As KnownSymbolType) As Boolean

Parameters

symbol
TSymbol

The symbol whose type is to be checked.

type
KnownSymbolType

The known type of the symbol.

Returns

true if the symbol type is a known symbol type; otherwise, false.

Applies to