Click or drag to resize

ForStatementSyntaxWithControlVariable Method



Returns a copy of this with the ControlVariable property changed to the specified value. Returns this instance if the specified value is the same as the current value.

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>
Syntax
public ForStatementSyntax WithControlVariable(
	VisualBasicSyntaxNode controlVariable
)

Parameters

controlVariable
Type: Microsoft.CodeAnalysis.VisualBasicVisualBasicSyntaxNode

Return Value

Type: ForStatementSyntax
See Also