共用方式為


SyntaxFactory.ExitDoStatement 方法

定義

多載

ExitDoStatement(SyntaxToken, SyntaxToken)

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

ExitDoStatement()

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

ExitDoStatement(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 ^ ExitDoStatement(Microsoft::CodeAnalysis::SyntaxToken exitKeyword, Microsoft::CodeAnalysis::SyntaxToken blockKeyword);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ExitStatementSyntax ExitDoStatement (Microsoft.CodeAnalysis.SyntaxToken exitKeyword, Microsoft.CodeAnalysis.SyntaxToken blockKeyword);
static member ExitDoStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ExitStatementSyntax
Public Shared Function ExitDoStatement (exitKeyword As SyntaxToken, blockKeyword As SyntaxToken) As ExitStatementSyntax

參數

exitKeyword
SyntaxToken

「Exit」 關鍵字。

blockKeyword
SyntaxToken

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

傳回

適用於

ExitDoStatement()

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 ^ ExitDoStatement();
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ExitStatementSyntax ExitDoStatement ();
static member ExitDoStatement : unit -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ExitStatementSyntax
Public Shared Function ExitDoStatement () As ExitStatementSyntax

傳回

適用於