VBCodeParser.Optional Method (VBKeyword)
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.
Assembly: System.Web.Razor (in System.Web.Razor.dll)
'Declaration Protected Function Optional ( _ keyword As VBKeyword _ ) As Boolean 'Usage Dim keyword As VBKeyword Dim returnValue As Boolean returnValue = Me.Optional(keyword)
Parameters
- keyword
- Type: System.Web.Razor.Tokenizer.Symbols.VBKeyword
The keyword.
Show: