VBCodeParser.Optional(VBKeyword) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the keyword from the code is optional.
protected bool Optional(System.Web.Razor.Tokenizer.Symbols.VBKeyword keyword);
override this.Optional : System.Web.Razor.Tokenizer.Symbols.VBKeyword -> bool
Protected Function Optional (keyword As VBKeyword) As Boolean
Parameters
- keyword
- VBKeyword
The keyword.
Returns
true if the keyword from the code is optional; otherwise, false.