Delen via


LoopStatementSyntax.WithLoopKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the LoopKeyword property changed to the specified value. Returns this instance if the specified value is the same as the current value.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::LoopStatementSyntax ^ WithLoopKeyword(Microsoft::CodeAnalysis::SyntaxToken loopKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.LoopStatementSyntax WithLoopKeyword (Microsoft.CodeAnalysis.SyntaxToken loopKeyword);
member this.WithLoopKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.LoopStatementSyntax
Public Function WithLoopKeyword (loopKeyword As SyntaxToken) As LoopStatementSyntax

Parameters

loopKeyword
SyntaxToken

Returns

Applies to