Udostępnij za pośrednictwem


SyntaxFactory.LoopStatement Method

Definition

Overloads

LoopStatement(SyntaxKind)

The Loop statement that begins a Do-Loop block.

LoopStatement(SyntaxKind, WhileOrUntilClauseSyntax)

The Loop statement that begins a Do-Loop block.

LoopStatement(SyntaxKind, SyntaxToken, WhileOrUntilClauseSyntax)

The Loop statement that begins a Do-Loop block.

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

The Loop statement that begins a Do-Loop block.

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

Parameters

kind
SyntaxKind

A SyntaxKind representing the specific kind of LoopStatementSyntax. One of SimpleLoopStatement, LoopWhileStatement, LoopUntilStatement.

Returns

Applies to

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

The Loop statement that begins a Do-Loop block.

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

Parameters

kind
SyntaxKind

A SyntaxKind representing the specific kind of LoopStatementSyntax. One of SimpleLoopStatement, LoopWhileStatement, LoopUntilStatement.

whileOrUntilClause
WhileOrUntilClauseSyntax

The "While expression" or "Until expression" clause of the Loop statement, if present.

Returns

Applies to

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

The Loop statement that begins a Do-Loop block.

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

Parameters

kind
SyntaxKind

A SyntaxKind representing the specific kind of LoopStatementSyntax. One of SimpleLoopStatement, LoopWhileStatement, LoopUntilStatement.

loopKeyword
SyntaxToken

The "Loop" keyword.

whileOrUntilClause
WhileOrUntilClauseSyntax

The "While expression" or "Until expression" clause of the Loop statement, if present.

Returns

Applies to