Share via


VBCodeParser.EndTerminatedStatement Method (VBKeyword, Boolean, Boolean)

Ends a termination of statement.

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

Syntax

'Declaration
Protected Overridable Function EndTerminatedStatement ( _
    keyword As VBKeyword, _
    supportsExit As Boolean, _
    supportsContinue As Boolean _
) As Func(Of Boolean)
'Usage
Dim keyword As VBKeyword 
Dim supportsExit As Boolean 
Dim supportsContinue As Boolean 
Dim returnValue As Func(Of Boolean)

returnValue = Me.EndTerminatedStatement(keyword, _
    supportsExit, supportsContinue)
protected virtual Func<bool> EndTerminatedStatement(
    VBKeyword keyword,
    bool supportsExit,
    bool supportsContinue
)
protected:
virtual Func<bool>^ EndTerminatedStatement(
    VBKeyword keyword, 
    bool supportsExit, 
    bool supportsContinue
)
abstract EndTerminatedStatement : 
        keyword:VBKeyword * 
        supportsExit:bool * 
        supportsContinue:bool -> Func<bool> 
override EndTerminatedStatement : 
        keyword:VBKeyword * 
        supportsExit:bool * 
        supportsContinue:bool -> Func<bool> 
protected function EndTerminatedStatement(
    keyword : VBKeyword, 
    supportsExit : boolean, 
    supportsContinue : boolean
) : Func<boolean>

Parameters

  • 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 ends the termination.

See Also

Reference

VBCodeParser Class

EndTerminatedStatement Overload

System.Web.Razor.Parser Namespace