Compartir a través de


ForStepClauseSyntax.Update(SyntaxToken, ExpressionSyntax) Method

Definition

Returns a copy of this with the specified changes. Returns this instance if there are no actual changes.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::ForStepClauseSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken stepKeyword, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ stepValue);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ForStepClauseSyntax Update (Microsoft.CodeAnalysis.SyntaxToken stepKeyword, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax stepValue);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ForStepClauseSyntax
Public Function Update (stepKeyword As SyntaxToken, stepValue As ExpressionSyntax) As ForStepClauseSyntax

Parameters

stepKeyword
SyntaxToken

The value for the StepKeyword property.

stepValue
ExpressionSyntax

The value for the StepValue property.

Returns

Applies to