Share via


ForEachVariableStatementSyntax.Variable Property

Definition

The variable(s) of the loop. In correct code this is a tuple literal, declaration expression with a tuple designator, or a discard syntax in the form of a simple identifier. In broken code it could be something else.

public:
 property Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ Variable { Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ get(); };
public Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax Variable { get; }
member this.Variable : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax
Public ReadOnly Property Variable As ExpressionSyntax

Property Value

Applies to