EndTerminatedDirectiveBody Method

VBCodeParser.EndTerminatedDirectiveBody Method

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

Determines whether the termination of directive body is ended.

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

protected virtual bool EndTerminatedDirectiveBody(
	string directive,
	SourceLocation blockStart,
	bool allowAllTransitions
)

Parameters

directive
Type: System.String
The directive.
blockStart
Type: System.Web.Razor.Text.SourceLocation
The block start.
allowAllTransitions
Type: System.Boolean
true to allow all transitions; otherwise, false.

Return Value

Type: System.Boolean
true if the termination of directive body is ended; otherwise, false.
Show:
© 2016 Microsoft