Partager via


ArrayTypeSyntax.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::ArrayTypeSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeSyntax ^ elementType, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ArrayRankSpecifierSyntax ^> rankSpecifiers);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ArrayTypeSyntax Update (Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax elementType, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ArrayRankSpecifierSyntax> rankSpecifiers);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ArrayRankSpecifierSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ArrayTypeSyntax
Public Function Update (elementType As TypeSyntax, rankSpecifiers As SyntaxList(Of ArrayRankSpecifierSyntax)) As ArrayTypeSyntax

Parameters

elementType
TypeSyntax

The value for the ElementType property.

rankSpecifiers
SyntaxList<ArrayRankSpecifierSyntax>

The value for the RankSpecifiers property.

Returns

Applies to