TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>.Optional 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Optional(KnownSymbolType) | |
Optional(TSymbolType) |
Optional(KnownSymbolType)
protected public:
bool Optional(Microsoft::AspNetCore::Razor::Tokenizer::Symbols::KnownSymbolType type);
protected internal bool Optional (Microsoft.AspNetCore.Razor.Tokenizer.Symbols.KnownSymbolType type);
member this.Optional : Microsoft.AspNetCore.Razor.Tokenizer.Symbols.KnownSymbolType -> bool
Protected Friend Function Optional (type As KnownSymbolType) As Boolean
參數
- type
- KnownSymbolType
傳回
適用於
Optional(TSymbolType)
protected public:
bool Optional(TSymbolType type);
protected internal bool Optional (TSymbolType type);
member this.Optional : 'SymbolType -> bool
Protected Friend Function Optional (type As TSymbolType) As Boolean
參數
- type
- TSymbolType