共用方式為


InvocationExpressionSyntax.Update Method

Definition

Returns a copy of this with the specified changes. Returns this instance if there are no actual changes.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::InvocationExpressionSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ expression, Microsoft::CodeAnalysis::VisualBasic::Syntax::ArgumentListSyntax ^ argumentList);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.InvocationExpressionSyntax Update (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.VisualBasic.Syntax.ArgumentListSyntax argumentList);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.ArgumentListSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.InvocationExpressionSyntax
Public Function Update (expression As ExpressionSyntax, argumentList As ArgumentListSyntax) As InvocationExpressionSyntax

Parameters

expression
ExpressionSyntax

The value for the Expression property.

argumentList
ArgumentListSyntax

The value for the ArgumentList property.

Returns

Applies to