Share via


ForEachVariableStatementSyntax.WithExpression(ExpressionSyntax) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::ForEachVariableStatementSyntax ^ WithExpression(Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ expression);
public Microsoft.CodeAnalysis.CSharp.Syntax.ForEachVariableStatementSyntax WithExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression);
override this.WithExpression : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ForEachVariableStatementSyntax
Public Function WithExpression (expression As ExpressionSyntax) As ForEachVariableStatementSyntax

Parameters

expression
ExpressionSyntax

Returns

Applies to