ForStatementSyntax.WithToValue(ExpressionSyntax) Method

Definition

Returns a copy of this with the ToValue 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 ^ WithToValue(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ toValue);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ForStatementSyntax WithToValue (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax toValue);
member this.WithToValue : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ForStatementSyntax
Public Function WithToValue (toValue As ExpressionSyntax) As ForStatementSyntax

Parameters

Returns

Applies to