VBCodeParser.Optional(VBKeyword) Method

Definition

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.

Applies to