Share via


ArrayCreationExpressionSyntax.WithRankSpecifiers Method

Definition

Returns a copy of this with the RankSpecifiers property changed to the specified value. Returns this instance if the specified value is the same as the current value.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::ArrayCreationExpressionSyntax ^ WithRankSpecifiers(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ArrayRankSpecifierSyntax ^> rankSpecifiers);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ArrayCreationExpressionSyntax WithRankSpecifiers (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ArrayRankSpecifierSyntax> rankSpecifiers);
member this.WithRankSpecifiers : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ArrayRankSpecifierSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ArrayCreationExpressionSyntax
Public Function WithRankSpecifiers (rankSpecifiers As SyntaxList(Of ArrayRankSpecifierSyntax)) As ArrayCreationExpressionSyntax

Parameters

Returns

Applies to