共用方式為


CSharpCodeParser.AcceptIf(CSharpKeyword) 方法

定義

protected public:
 bool AcceptIf(Microsoft::AspNetCore::Razor::Tokenizer::Symbols::CSharpKeyword keyword);
protected internal bool AcceptIf (Microsoft.AspNetCore.Razor.Tokenizer.Symbols.CSharpKeyword keyword);
member this.AcceptIf : Microsoft.AspNetCore.Razor.Tokenizer.Symbols.CSharpKeyword -> bool
Protected Friend Function AcceptIf (keyword As CSharpKeyword) As Boolean

參數

keyword
CSharpKeyword

傳回

適用於