Export (0) Print
Expand All

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.

Namespace:  System.Web.Razor.Parser
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

protected bool Optional(
	VBKeyword keyword
)

Parameters

keyword
Type: System.Web.Razor.Tokenizer.Symbols.VBKeyword
The keyword.

Return Value

Type: System.Boolean
true if the keyword from the code is optional; otherwise, false.
Show:
© 2014 Microsoft