Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

VBCodeParser.KeywordTerminatedStatement Method

Indicates a keyword that terminates a statement.

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

protected virtual Func<bool> KeywordTerminatedStatement(
	VBKeyword start,
	VBKeyword terminator,
	bool supportsExit,
	bool 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<Boolean>
The function that terminates the statement.
Show:
© 2015 Microsoft