共用方式為


SyntaxFactory.DoLoopBlock 方法

定義

多載

DoLoopBlock(SyntaxKind, DoStatementSyntax, LoopStatementSyntax)

表示Do-Loop區塊。 Kind 屬性可用來判斷這是 Do While、Do Until、Do Loop While、Do Loop Until 或 infinite Do Loop。

DoLoopBlock(SyntaxKind, DoStatementSyntax, SyntaxList<StatementSyntax>, LoopStatementSyntax)

表示Do-Loop區塊。 Kind 屬性可用來判斷這是 Do While、Do Until、Do Loop While、Do Loop Until 或 infinite Do Loop。

DoLoopBlock(SyntaxKind, DoStatementSyntax, LoopStatementSyntax)

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

表示Do-Loop區塊。 Kind 屬性可用來判斷這是 Do While、Do Until、Do Loop While、Do Loop Until 或 infinite Do Loop。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::DoLoopBlockSyntax ^ DoLoopBlock(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::VisualBasic::Syntax::DoStatementSyntax ^ doStatement, Microsoft::CodeAnalysis::VisualBasic::Syntax::LoopStatementSyntax ^ loopStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.DoLoopBlockSyntax DoLoopBlock (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.VisualBasic.Syntax.DoStatementSyntax doStatement, Microsoft.CodeAnalysis.VisualBasic.Syntax.LoopStatementSyntax loopStatement);
static member DoLoopBlock : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.VisualBasic.Syntax.DoStatementSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.LoopStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.DoLoopBlockSyntax
Public Shared Function DoLoopBlock (kind As SyntaxKind, doStatement As DoStatementSyntax, loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax

參數

kind
SyntaxKind

SyntaxKind 表示特定種類的 DoLoopBlockSyntax。 其中一個 SimpleDoLoopBlock、DoWhileLoopBlock、DoUntilLoopBlock、DoLoopWhileBlock、DoLoopUntilBlock。

doStatement
DoStatementSyntax

開始區塊的 Do 語句。

loopStatement
LoopStatementSyntax

結束 區塊的 Loop 語句。

傳回

適用於

DoLoopBlock(SyntaxKind, DoStatementSyntax, SyntaxList<StatementSyntax>, LoopStatementSyntax)

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

表示Do-Loop區塊。 Kind 屬性可用來判斷這是 Do While、Do Until、Do Loop While、Do Loop Until 或 infinite Do Loop。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::DoLoopBlockSyntax ^ DoLoopBlock(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::VisualBasic::Syntax::DoStatementSyntax ^ doStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements, Microsoft::CodeAnalysis::VisualBasic::Syntax::LoopStatementSyntax ^ loopStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.DoLoopBlockSyntax DoLoopBlock (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.VisualBasic.Syntax.DoStatementSyntax doStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements, Microsoft.CodeAnalysis.VisualBasic.Syntax.LoopStatementSyntax loopStatement);
static member DoLoopBlock : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.VisualBasic.Syntax.DoStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.LoopStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.DoLoopBlockSyntax
Public Shared Function DoLoopBlock (kind As SyntaxKind, doStatement As DoStatementSyntax, statements As SyntaxList(Of StatementSyntax), loopStatement As LoopStatementSyntax) As DoLoopBlockSyntax

參數

kind
SyntaxKind

SyntaxKind 表示特定種類的 DoLoopBlockSyntax。 其中一個 SimpleDoLoopBlock、DoWhileLoopBlock、DoUntilLoopBlock、DoLoopWhileBlock、DoLoopUntilBlock。

doStatement
DoStatementSyntax

開始區塊的 Do 語句。

statements
SyntaxList<StatementSyntax>

區塊語句中包含的語句。 這可能是空的清單。

loopStatement
LoopStatementSyntax

結束 區塊的 Loop 語句。

傳回

適用於