Share via


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)

Syntax

'Declaration
Protected Overridable Function EndTerminatedDirectiveBody ( _
    directive As String, _
    blockStart As SourceLocation, _
    allowAllTransitions As Boolean _
) As Boolean
'Usage
Dim directive As String 
Dim blockStart As SourceLocation 
Dim allowAllTransitions As Boolean 
Dim returnValue As Boolean 

returnValue = Me.EndTerminatedDirectiveBody(directive, _
    blockStart, allowAllTransitions)
protected virtual bool EndTerminatedDirectiveBody(
    string directive,
    SourceLocation blockStart,
    bool allowAllTransitions
)
protected:
virtual bool EndTerminatedDirectiveBody(
    String^ directive, 
    SourceLocation blockStart, 
    bool allowAllTransitions
)
abstract EndTerminatedDirectiveBody : 
        directive:string * 
        blockStart:SourceLocation * 
        allowAllTransitions:bool -> bool  
override EndTerminatedDirectiveBody : 
        directive:string * 
        blockStart:SourceLocation * 
        allowAllTransitions:bool -> bool
protected function EndTerminatedDirectiveBody(
    directive : String, 
    blockStart : SourceLocation, 
    allowAllTransitions : boolean
) : boolean

Parameters

  • 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.

See Also

Reference

VBCodeParser Class

System.Web.Razor.Parser Namespace