Share via


CallStatementSyntax.Update(SyntaxToken, ExpressionSyntax) 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::CallStatementSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken callKeyword, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ invocation);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.CallStatementSyntax Update (Microsoft.CodeAnalysis.SyntaxToken callKeyword, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax invocation);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CallStatementSyntax
Public Function Update (callKeyword As SyntaxToken, invocation As ExpressionSyntax) As CallStatementSyntax

Parameters

callKeyword
SyntaxToken

The value for the CallKeyword property.

invocation
ExpressionSyntax

The value for the Invocation property.

Returns

Applies to