VBCodeParser.EndTerminatedStatement Method (VBKeyword, Boolean, Boolean, String)

Ends a termination of statement.

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

protected function EndTerminatedStatement(
	keyword : VBKeyword, 
	supportsExit : boolean, 
	supportsContinue : boolean, 
	blockName : String
) : Func<boolean>

Parameters

keyword
Type: System.Web.Razor.Tokenizer.Symbols.VBKeyword
The keyword.
supportsExit
Type: System.Boolean
true if the termination supports exit; otherwise, false.
supportsContinue
Type: System.Boolean
true if the termination supports continue; otherwise, false.
blockName
Type: System.String
The block name.

Return Value

Type: System.Func(Boolean)
The function that ends the termination.
Show: