共用方式為


SyntaxFactory.ExitSubStatement Method

Definition

Overloads

ExitSubStatement()

An exit statement. The kind of block being exited can be found by examining the Kind.

ExitSubStatement(SyntaxToken, SyntaxToken)

An exit statement. The kind of block being exited can be found by examining the Kind.

ExitSubStatement()

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

An exit statement. The kind of block being exited can be found by examining the Kind.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ExitStatementSyntax ^ ExitSubStatement();
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ExitStatementSyntax ExitSubStatement ();
static member ExitSubStatement : unit -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ExitStatementSyntax
Public Shared Function ExitSubStatement () As ExitStatementSyntax

Returns

Applies to

ExitSubStatement(SyntaxToken, SyntaxToken)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

An exit statement. The kind of block being exited can be found by examining the Kind.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ExitStatementSyntax ^ ExitSubStatement(Microsoft::CodeAnalysis::SyntaxToken exitKeyword, Microsoft::CodeAnalysis::SyntaxToken blockKeyword);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ExitStatementSyntax ExitSubStatement (Microsoft.CodeAnalysis.SyntaxToken exitKeyword, Microsoft.CodeAnalysis.SyntaxToken blockKeyword);
static member ExitSubStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ExitStatementSyntax
Public Shared Function ExitSubStatement (exitKeyword As SyntaxToken, blockKeyword As SyntaxToken) As ExitStatementSyntax

Parameters

exitKeyword
SyntaxToken

The "Exit" keyword.

blockKeyword
SyntaxToken

The keyword describing the block to exit.

Returns

Applies to