共用方式為


SyntaxFactory.ExitTryStatement 方法

定義

多載

ExitTryStatement()

exit 語句。 您可以檢查 Kind 來找到要結束的區塊種類。

ExitTryStatement(SyntaxToken, SyntaxToken)

exit 語句。 您可以檢查 Kind 來找到要結束的區塊種類。

ExitTryStatement()

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

exit 語句。 您可以檢查 Kind 來找到要結束的區塊種類。

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

傳回

適用於

ExitTryStatement(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

exit 語句。 您可以檢查 Kind 來找到要結束的區塊種類。

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

參數

exitKeyword
SyntaxToken

「Exit」 關鍵字。

blockKeyword
SyntaxToken

描述要結束之區塊的關鍵字。

傳回

適用於