SyntaxFactory.DoStatement Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DoStatement(SyntaxKind, SyntaxToken, WhileOrUntilClauseSyntax) |
The Do statement that begins a Do-Loop block. |
DoStatement(SyntaxKind, WhileOrUntilClauseSyntax) |
The Do statement that begins a Do-Loop block. |
DoStatement(SyntaxKind) |
The Do statement that begins a Do-Loop block. |
DoStatement(SyntaxKind, SyntaxToken, WhileOrUntilClauseSyntax)
- 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
The Do statement that begins a Do-Loop block.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::DoStatementSyntax ^ DoStatement(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::SyntaxToken doKeyword, Microsoft::CodeAnalysis::VisualBasic::Syntax::WhileOrUntilClauseSyntax ^ whileOrUntilClause);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.DoStatementSyntax DoStatement (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.SyntaxToken doKeyword, Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileOrUntilClauseSyntax whileOrUntilClause);
static member DoStatement : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileOrUntilClauseSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.DoStatementSyntax
Public Shared Function DoStatement (kind As SyntaxKind, doKeyword As SyntaxToken, whileOrUntilClause As WhileOrUntilClauseSyntax) As DoStatementSyntax
Parameters
- kind
- SyntaxKind
A SyntaxKind representing the specific kind of DoStatementSyntax. One of SimpleDoStatement, DoWhileStatement, DoUntilStatement.
- doKeyword
- SyntaxToken
The "Do" keyword.
- whileOrUntilClause
- WhileOrUntilClauseSyntax
The "While expression" or "Until expression" clause of the Do statement, if present.
Returns
Applies to
DoStatement(SyntaxKind, WhileOrUntilClauseSyntax)
- 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
The Do statement that begins a Do-Loop block.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::DoStatementSyntax ^ DoStatement(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::VisualBasic::Syntax::WhileOrUntilClauseSyntax ^ whileOrUntilClause);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.DoStatementSyntax DoStatement (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileOrUntilClauseSyntax whileOrUntilClause);
static member DoStatement : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileOrUntilClauseSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.DoStatementSyntax
Public Shared Function DoStatement (kind As SyntaxKind, whileOrUntilClause As WhileOrUntilClauseSyntax) As DoStatementSyntax
Parameters
- kind
- SyntaxKind
A SyntaxKind representing the specific kind of DoStatementSyntax. One of SimpleDoStatement, DoWhileStatement, DoUntilStatement.
- whileOrUntilClause
- WhileOrUntilClauseSyntax
The "While expression" or "Until expression" clause of the Do statement, if present.
Returns
Applies to
DoStatement(SyntaxKind)
- 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
The Do statement that begins a Do-Loop block.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::DoStatementSyntax ^ DoStatement(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.DoStatementSyntax DoStatement (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind);
static member DoStatement : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind -> Microsoft.CodeAnalysis.VisualBasic.Syntax.DoStatementSyntax
Public Shared Function DoStatement (kind As SyntaxKind) As DoStatementSyntax
Parameters
- kind
- SyntaxKind
A SyntaxKind representing the specific kind of DoStatementSyntax. One of SimpleDoStatement, DoWhileStatement, DoUntilStatement.