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