Share via


CallStatementSyntax.WithCallKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the CallKeyword 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 ^ WithCallKeyword(Microsoft::CodeAnalysis::SyntaxToken callKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.CallStatementSyntax WithCallKeyword (Microsoft.CodeAnalysis.SyntaxToken callKeyword);
member this.WithCallKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CallStatementSyntax
Public Function WithCallKeyword (callKeyword As SyntaxToken) As CallStatementSyntax

Parameters

callKeyword
SyntaxToken

Returns

Applies to