Share via


VBCodeParser.OptionStatement Method

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Determines whether the code is an option statement.

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

Syntax

'Declaration
Protected Overridable Function OptionStatement As Boolean
'Usage
Dim returnValue As Boolean 

returnValue = Me.OptionStatement()
protected virtual bool OptionStatement()
protected:
virtual bool OptionStatement()
abstract OptionStatement : unit -> bool  
override OptionStatement : unit -> bool
protected function OptionStatement() : boolean

Return Value

Type: System.Boolean
true if the code is an option statement; otherwise, false.

See Also

Reference

VBCodeParser Class

System.Web.Razor.Parser Namespace