ReDimStatementSyntax.Update Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.