LanguageCharacteristics<TTokenizer, TSymbol, TSymbolType>.IsKnownSymbolType Method
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.
Namespace: System.Web.Razor.Parser
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public Overridable Function IsKnownSymbolType ( _
symbol As TSymbol, _
type As KnownSymbolType _
) As Boolean
'Usage
Dim instance As LanguageCharacteristics
Dim symbol As TSymbol
Dim type As KnownSymbolType
Dim returnValue As Boolean
returnValue = instance.IsKnownSymbolType(symbol, _
type)
public virtual bool IsKnownSymbolType(
TSymbol symbol,
KnownSymbolType type
)
public:
virtual bool IsKnownSymbolType(
TSymbol symbol,
KnownSymbolType type
)
abstract IsKnownSymbolType :
symbol:'TSymbol *
type:KnownSymbolType -> bool
override IsKnownSymbolType :
symbol:'TSymbol *
type:KnownSymbolType -> bool
public function IsKnownSymbolType(
symbol : TSymbol,
type : KnownSymbolType
) : boolean
Parameters
- symbol
Type: TSymbol
The symbol whose type is to be checked.
- type
Type: System.Web.Razor.Tokenizer.Symbols.KnownSymbolType
The known type of the symbol.
Return Value
Type: System.Boolean
true if the symbol type is a known symbol type; otherwise, false.
See Also
Reference
LanguageCharacteristics<TTokenizer, TSymbol, TSymbolType> Class