SyntaxFactory.LoopStatement 方法

定义

重载

LoopStatement(SyntaxKind)

开始Do-Loop块的 Loop 语句。

LoopStatement(SyntaxKind, WhileOrUntilClauseSyntax)

开始Do-Loop块的 Loop 语句。

LoopStatement(SyntaxKind, SyntaxToken, WhileOrUntilClauseSyntax)

开始Do-Loop块的 Loop 语句。

LoopStatement(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

开始Do-Loop块的 Loop 语句。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::LoopStatementSyntax ^ LoopStatement(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.LoopStatementSyntax LoopStatement (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind);
static member LoopStatement : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind -> Microsoft.CodeAnalysis.VisualBasic.Syntax.LoopStatementSyntax
Public Shared Function LoopStatement (kind As SyntaxKind) As LoopStatementSyntax

参数

kind
SyntaxKind

一个 SyntaxKind ,表示 LoopStatementSyntax 的特定类型。 SimpleLoopStatement、LoopWhileStatement、LoopUntilStatement 之一。

返回

适用于

LoopStatement(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

开始Do-Loop块的 Loop 语句。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::LoopStatementSyntax ^ LoopStatement(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::VisualBasic::Syntax::WhileOrUntilClauseSyntax ^ whileOrUntilClause);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.LoopStatementSyntax LoopStatement (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileOrUntilClauseSyntax whileOrUntilClause);
static member LoopStatement : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileOrUntilClauseSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.LoopStatementSyntax
Public Shared Function LoopStatement (kind As SyntaxKind, whileOrUntilClause As WhileOrUntilClauseSyntax) As LoopStatementSyntax

参数

kind
SyntaxKind

一个 SyntaxKind ,表示 LoopStatementSyntax 的特定类型。 SimpleLoopStatement、LoopWhileStatement、LoopUntilStatement 之一。

whileOrUntilClause
WhileOrUntilClauseSyntax

Loop 语句的“While expression”或“Until expression”子句(如果存在)。

返回

适用于

LoopStatement(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

开始Do-Loop块的 Loop 语句。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::LoopStatementSyntax ^ LoopStatement(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::SyntaxToken loopKeyword, Microsoft::CodeAnalysis::VisualBasic::Syntax::WhileOrUntilClauseSyntax ^ whileOrUntilClause);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.LoopStatementSyntax LoopStatement (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.SyntaxToken loopKeyword, Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileOrUntilClauseSyntax whileOrUntilClause);
static member LoopStatement : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileOrUntilClauseSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.LoopStatementSyntax
Public Shared Function LoopStatement (kind As SyntaxKind, loopKeyword As SyntaxToken, whileOrUntilClause As WhileOrUntilClauseSyntax) As LoopStatementSyntax

参数

kind
SyntaxKind

一个 SyntaxKind ,表示 LoopStatementSyntax 的特定类型。 SimpleLoopStatement、LoopWhileStatement、LoopUntilStatement 之一。

loopKeyword
SyntaxToken

“循环”关键字 (keyword) 。

whileOrUntilClause
WhileOrUntilClauseSyntax

Loop 语句的“While expression”或“Until expression”子句(如果存在)。

返回

适用于