VBCodeParser.KeywordTerminatedStatement Method

Indicates a keyword that terminates a statement.

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

'Declaration
Protected Overridable Function KeywordTerminatedStatement ( _
	start As VBKeyword, _
	terminator As VBKeyword, _
	supportsExit As Boolean, _
	supportsContinue As Boolean _
) As Func(Of Boolean)
'Usage
Dim start As VBKeyword 
Dim terminator As VBKeyword 
Dim supportsExit As Boolean 
Dim supportsContinue As Boolean 
Dim returnValue As Func(Of Boolean)

returnValue = Me.KeywordTerminatedStatement(start, _
	terminator, supportsExit, supportsContinue)

Parameters

start
Type: System.Web.Razor.Tokenizer.Symbols.VBKeyword
The start.
terminator
Type: System.Web.Razor.Tokenizer.Symbols.VBKeyword
The terminator.
supportsExit
Type: System.Boolean
true if the termination supports exit; otherwise, false.
supportsContinue
Type: System.Boolean
true if the termination supports continue; otherwise, false.

Return Value

Type: System.Func(Of Boolean)
The function that terminates the statement.
Show: