Share via


CallStatementSyntax.WithInvocation(ExpressionSyntax) Method

Definition

Returns a copy of this with the Invocation 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::CallStatementSyntax ^ WithInvocation(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ invocation);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.CallStatementSyntax WithInvocation (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax invocation);
member this.WithInvocation : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CallStatementSyntax
Public Function WithInvocation (invocation As ExpressionSyntax) As CallStatementSyntax

Parameters

invocation
ExpressionSyntax

Returns

Applies to