SyntaxFactory.WhileBlock 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
WhileBlock(WhileStatementSyntax) |
Represents a While...End While statement, including the While, body and End While. |
WhileBlock(WhileStatementSyntax, SyntaxList<StatementSyntax>) |
Represents a While...End While statement, including the While, body and End While. |
WhileBlock(WhileStatementSyntax, SyntaxList<StatementSyntax>, EndBlockStatementSyntax) |
Represents a While...End While statement, including the While, body and End While. |
WhileBlock(WhileStatementSyntax)
- 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 While...End While statement, including the While, body and End While.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::WhileBlockSyntax ^ WhileBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::WhileStatementSyntax ^ whileStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileBlockSyntax WhileBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileStatementSyntax whileStatement);
static member WhileBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileBlockSyntax
Public Shared Function WhileBlock (whileStatement As WhileStatementSyntax) As WhileBlockSyntax
Parameters
- whileStatement
- WhileStatementSyntax
The While statement that begins the block.
Returns
Applies to
WhileBlock(WhileStatementSyntax, SyntaxList<StatementSyntax>)
- 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 While...End While statement, including the While, body and End While.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::WhileBlockSyntax ^ WhileBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::WhileStatementSyntax ^ whileStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileBlockSyntax WhileBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileStatementSyntax whileStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements);
static member WhileBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileBlockSyntax
Public Shared Function WhileBlock (whileStatement As WhileStatementSyntax, statements As SyntaxList(Of StatementSyntax)) As WhileBlockSyntax
Parameters
- whileStatement
- WhileStatementSyntax
The While statement that begins the block.
- statements
- SyntaxList<StatementSyntax>
The statements contained in the While...End While. This might be an empty list.
Returns
Applies to
WhileBlock(WhileStatementSyntax, SyntaxList<StatementSyntax>, EndBlockStatementSyntax)
- 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 While...End While statement, including the While, body and End While.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::WhileBlockSyntax ^ WhileBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::WhileStatementSyntax ^ whileStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements, Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endWhileStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileBlockSyntax WhileBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileStatementSyntax whileStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements, Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endWhileStatement);
static member WhileBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileBlockSyntax
Public Shared Function WhileBlock (whileStatement As WhileStatementSyntax, statements As SyntaxList(Of StatementSyntax), endWhileStatement As EndBlockStatementSyntax) As WhileBlockSyntax
Parameters
- whileStatement
- WhileStatementSyntax
The While statement that begins the block.
- statements
- SyntaxList<StatementSyntax>
The statements contained in the While...End While. This might be an empty list.
- endWhileStatement
- EndBlockStatementSyntax
The End While statement that ends the block.