共用方式為


ReDimStatementSyntax.Update 方法

定義

傳回具有指定之變更的這個複本。 如果沒有實際變更,則傳回這個實例。

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

參數

kind
SyntaxKind

新種類。

reDimKeyword
SyntaxToken

ReDimKeyword 屬性的值。

preserveKeyword
SyntaxToken

PreserveKeyword 屬性的值。

clauses
SeparatedSyntaxList<RedimClauseSyntax>

Clauses 屬性的值。

傳回

適用於