共用方式為


SyntaxFactory.WhileBlock 方法

定義

多載

WhileBlock(WhileStatementSyntax)

代表一段時間...End While 語句,包括 While、body 和 End While。

WhileBlock(WhileStatementSyntax, SyntaxList<StatementSyntax>)

代表一段時間...End While 語句,包括 While、body 和 End While。

WhileBlock(WhileStatementSyntax, SyntaxList<StatementSyntax>, EndBlockStatementSyntax)

代表一段時間...End While 語句,包括 While、body 和 End While。

WhileBlock(WhileStatementSyntax)

來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb

代表一段時間...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>)

來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb

代表一段時間...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>

While... 中包含的語句結束時間。 這可能是空的清單。

傳回

適用於

WhileBlock(WhileStatementSyntax, SyntaxList<StatementSyntax>, EndBlockStatementSyntax)

來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb
來源:
Syntax.xml.Main.Generated.vb

代表一段時間...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>

While... 中包含的語句結束時間。 這可能是空的清單。

endWhileStatement
EndBlockStatementSyntax

結束區塊的 End While 語句。

傳回

適用於