Share via


ForStatementSyntax.WithStepClause(ForStepClauseSyntax) Method

Definition

Returns a copy of this with the StepClause 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::ForStatementSyntax ^ WithStepClause(Microsoft::CodeAnalysis::VisualBasic::Syntax::ForStepClauseSyntax ^ stepClause);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ForStatementSyntax WithStepClause (Microsoft.CodeAnalysis.VisualBasic.Syntax.ForStepClauseSyntax stepClause);
member this.WithStepClause : Microsoft.CodeAnalysis.VisualBasic.Syntax.ForStepClauseSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ForStatementSyntax
Public Function WithStepClause (stepClause As ForStepClauseSyntax) As ForStatementSyntax

Parameters

stepClause
ForStepClauseSyntax

Returns

Applies to