Share via


SyntaxFactory.DoLoopBlock Method

Definition

Overloads

DoLoopBlock(SyntaxKind, DoStatementSyntax, LoopStatementSyntax)

Represents a Do-Loop block. The Kind property can be used to determine if this is a Do While, Do Until, Do Loop While, Do Loop Until, or infinite Do Loop.

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

Represents a Do-Loop block. The Kind property can be used to determine if this is a Do While, Do Until, Do Loop While, Do Loop Until, or 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

Represents a Do-Loop block. The Kind property can be used to determine if this is a Do While, Do Until, Do Loop While, Do Loop Until, or 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

Parameters

kind
SyntaxKind

A SyntaxKind representing the specific kind of DoLoopBlockSyntax. One of SimpleDoLoopBlock, DoWhileLoopBlock, DoUntilLoopBlock, DoLoopWhileBlock, DoLoopUntilBlock.

doStatement
DoStatementSyntax

The Do statement that begins the block.

loopStatement
LoopStatementSyntax

The Loop statement that ends the block.

Returns

Applies to

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

Represents a Do-Loop block. The Kind property can be used to determine if this is a Do While, Do Until, Do Loop While, Do Loop Until, or 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

Parameters

kind
SyntaxKind

A SyntaxKind representing the specific kind of DoLoopBlockSyntax. One of SimpleDoLoopBlock, DoWhileLoopBlock, DoUntilLoopBlock, DoLoopWhileBlock, DoLoopUntilBlock.

doStatement
DoStatementSyntax

The Do statement that begins the block.

statements
SyntaxList<StatementSyntax>

The statements contained in the block statement. This might be an empty list.

loopStatement
LoopStatementSyntax

The Loop statement that ends the block.

Returns

Applies to