Click or drag to resize

ForOrForEachStatementSyntaxControlVariable Property

If the For or For Each statement is of a form that does not declare a new loop control variable, this is the expression that denotes the loop control variable. If this loop is of a form that does declare a new control variable, this is a VariableDeclarator that has the variable being declared.

Namespace:  Microsoft.CodeAnalysis.VisualBasic.Syntax
Assembly:  Microsoft.CodeAnalysis.VisualBasic (in Microsoft.CodeAnalysis.VisualBasic.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
public VisualBasicSyntaxNode ControlVariable { get; }

Property Value

Type: VisualBasicSyntaxNode
See Also