Click or drag to resize

ForStatementSyntaxUpdate Method



Returns a copy of this with the specified changes. Returns this instance if there are no actual changes.

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 Update(
	SyntaxToken forKeyword,
	VisualBasicSyntaxNode controlVariable,
	SyntaxToken equalsToken,
	ExpressionSyntax fromValue,
	SyntaxToken toKeyword,
	ExpressionSyntax toValue,
	ForStepClauseSyntax stepClause
)

Parameters

forKeyword
Type: Microsoft.CodeAnalysisSyntaxToken
The value for the ForKeyword property.
controlVariable
Type: Microsoft.CodeAnalysis.VisualBasicVisualBasicSyntaxNode
The value for the ControlVariable property.
equalsToken
Type: Microsoft.CodeAnalysisSyntaxToken
The value for the EqualsToken property.
fromValue
Type: Microsoft.CodeAnalysis.VisualBasic.SyntaxExpressionSyntax
The value for the FromValue property.
toKeyword
Type: Microsoft.CodeAnalysisSyntaxToken
The value for the ToKeyword property.
toValue
Type: Microsoft.CodeAnalysis.VisualBasic.SyntaxExpressionSyntax
The value for the ToValue property.
stepClause
Type: Microsoft.CodeAnalysis.VisualBasic.SyntaxForStepClauseSyntax
The value for the StepClause property.

Return Value

Type: ForStatementSyntax
See Also