SyntaxFactory.WhileOrUntilClause 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.
Represents a "While expression" or "Until expression" in a Do or Loop statement. The Kind of the clause can be "WhileClause" or "UntilClause" to indicate which kind of clause.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::WhileOrUntilClauseSyntax ^ WhileOrUntilClause(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::SyntaxToken whileOrUntilKeyword, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ condition);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileOrUntilClauseSyntax WhileOrUntilClause (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.SyntaxToken whileOrUntilKeyword, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax condition);
static member WhileOrUntilClause : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.WhileOrUntilClauseSyntax
Public Shared Function WhileOrUntilClause (kind As SyntaxKind, whileOrUntilKeyword As SyntaxToken, condition As ExpressionSyntax) As WhileOrUntilClauseSyntax
Parameters
- kind
- SyntaxKind
A SyntaxKind representing the specific kind of WhileOrUntilClauseSyntax. One of WhileClause, UntilClause.
- whileOrUntilKeyword
- SyntaxToken
The "While" or "Until" keyword.
- condition
- ExpressionSyntax
The boolean expression after the While or Until.
Returns
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.