ForStatementSyntax.WithFromValue(ExpressionSyntax) 方法

定义

返回此副本,其中 FromValue 属性已更改为指定值。 如果指定的值与当前值相同,则返回此实例。

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

参数

fromValue
ExpressionSyntax

返回

适用于