Partager via


ForStatementSyntax.WithFromValue(ExpressionSyntax) Method

Definition

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

Parameters

fromValue
ExpressionSyntax

Returns

Applies to