SyntaxFactory.WhileBlock 方法

定义

重载

WhileBlock(WhileStatementSyntax)

表示一个 While...End While 语句,包括 While、body 和 End While。

WhileBlock(WhileStatementSyntax, SyntaxList<StatementSyntax>)

表示一个 While...End While 语句,包括 While、body 和 End While。

WhileBlock(WhileStatementSyntax, SyntaxList<StatementSyntax>, EndBlockStatementSyntax)

表示一个 While...End While 语句,包括 While、body 和 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
Source:
Syntax.xml.Main.Generated.vb

表示一个 While...End While 语句,包括 While、body 和 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

参数

whileStatement
WhileStatementSyntax

开始块的 While 语句。

返回

适用于

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
Source:
Syntax.xml.Main.Generated.vb

表示一个 While...End While 语句,包括 While、body 和 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

参数

whileStatement
WhileStatementSyntax

开始块的 While 语句。

statements
SyntaxList<StatementSyntax>

The statements contained in the While...结束时间。 这可能是空列表。

返回

适用于

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
Source:
Syntax.xml.Main.Generated.vb

表示一个 While...End While 语句,包括 While、body 和 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

参数

whileStatement
WhileStatementSyntax

开始块的 While 语句。

statements
SyntaxList<StatementSyntax>

The statements contained in the While...结束时间。 这可能是空列表。

endWhileStatement
EndBlockStatementSyntax

结束块的 End While 语句。

返回

适用于