Share via


ReDimStatementSyntax.Update Method

Definition

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

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::ReDimStatementSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::SyntaxKind kind, Microsoft::CodeAnalysis::SyntaxToken reDimKeyword, Microsoft::CodeAnalysis::SyntaxToken preserveKeyword, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::RedimClauseSyntax ^> clauses);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ReDimStatementSyntax Update (Microsoft.CodeAnalysis.VisualBasic.SyntaxKind kind, Microsoft.CodeAnalysis.SyntaxToken reDimKeyword, Microsoft.CodeAnalysis.SyntaxToken preserveKeyword, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.RedimClauseSyntax> clauses);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.SyntaxKind * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.RedimClauseSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ReDimStatementSyntax
Public Function Update (kind As SyntaxKind, reDimKeyword As SyntaxToken, preserveKeyword As SyntaxToken, clauses As SeparatedSyntaxList(Of RedimClauseSyntax)) As ReDimStatementSyntax

Parameters

kind
SyntaxKind

The new kind.

reDimKeyword
SyntaxToken

The value for the ReDimKeyword property.

preserveKeyword
SyntaxToken

The value for the PreserveKeyword property.

clauses
SeparatedSyntaxList<RedimClauseSyntax>

The value for the Clauses property.

Returns

Applies to