Partager via


NameOfExpressionSyntax.WithArgument(ExpressionSyntax) Method

Definition

Returns a copy of this with the Argument 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::NameOfExpressionSyntax ^ WithArgument(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ argument);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.NameOfExpressionSyntax WithArgument (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax argument);
member this.WithArgument : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.NameOfExpressionSyntax
Public Function WithArgument (argument As ExpressionSyntax) As NameOfExpressionSyntax

Parameters

argument
ExpressionSyntax

Returns

Applies to