ObjectCreationExpressionSyntax.WithArgumentList(ArgumentListSyntax) Method

Definition

Returns a copy of this with the ArgumentList 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::ObjectCreationExpressionSyntax ^ WithArgumentList(Microsoft::CodeAnalysis::VisualBasic::Syntax::ArgumentListSyntax ^ argumentList);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectCreationExpressionSyntax WithArgumentList (Microsoft.CodeAnalysis.VisualBasic.Syntax.ArgumentListSyntax argumentList);
member this.WithArgumentList : Microsoft.CodeAnalysis.VisualBasic.Syntax.ArgumentListSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectCreationExpressionSyntax
Public Function WithArgumentList (argumentList As ArgumentListSyntax) As ObjectCreationExpressionSyntax

Parameters

argumentList
ArgumentListSyntax

Returns

Applies to