ArrayCreationExpressionSyntax.WithRankSpecifiers 方法

定义

返回此副本,其中 RankSpecifiers 属性已更改为指定值。 如果指定的值与当前值相同,则返回此实例。

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

参数

返回

适用于