Share via


WhileStatementSyntax.WithWhileKeyword(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::WhileStatementSyntax ^ WithWhileKeyword(Microsoft::CodeAnalysis::SyntaxToken whileKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.WhileStatementSyntax WithWhileKeyword (Microsoft.CodeAnalysis.SyntaxToken whileKeyword);
member this.WithWhileKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.WhileStatementSyntax
Public Function WithWhileKeyword (whileKeyword As SyntaxToken) As WhileStatementSyntax

Parameters

whileKeyword
SyntaxToken

Returns

Applies to