Partager via


ForStepClauseSyntax.WithStepValue(ExpressionSyntax) Method

Definition

Returns a copy of this with the StepValue 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 ^ WithStepValue(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ stepValue);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ForStepClauseSyntax WithStepValue (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax stepValue);
member this.WithStepValue : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ForStepClauseSyntax
Public Function WithStepValue (stepValue As ExpressionSyntax) As ForStepClauseSyntax

Parameters

stepValue
ExpressionSyntax

Returns

Applies to