Compartilhar via


ArrayCreationExpressionSyntax.WithArrayBounds(ArgumentListSyntax) Method

Definition

Returns a copy of this with the ArrayBounds 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 ^ WithArrayBounds(Microsoft::CodeAnalysis::VisualBasic::Syntax::ArgumentListSyntax ^ arrayBounds);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ArrayCreationExpressionSyntax WithArrayBounds (Microsoft.CodeAnalysis.VisualBasic.Syntax.ArgumentListSyntax arrayBounds);
member this.WithArrayBounds : Microsoft.CodeAnalysis.VisualBasic.Syntax.ArgumentListSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ArrayCreationExpressionSyntax
Public Function WithArrayBounds (arrayBounds As ArgumentListSyntax) As ArrayCreationExpressionSyntax

Parameters

arrayBounds
ArgumentListSyntax

Returns

Applies to