Share via


ForStepClauseSyntax.WithStepKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the StepKeyword 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::ForStepClauseSyntax ^ WithStepKeyword(Microsoft::CodeAnalysis::SyntaxToken stepKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ForStepClauseSyntax WithStepKeyword (Microsoft.CodeAnalysis.SyntaxToken stepKeyword);
member this.WithStepKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ForStepClauseSyntax
Public Function WithStepKeyword (stepKeyword As SyntaxToken) As ForStepClauseSyntax

Parameters

stepKeyword
SyntaxToken

Returns

Applies to