Share via


OperatorStatementSyntax.WithOperatorKeyword(SyntaxToken) Method

Definition

Returns a copy of this with the OperatorKeyword 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::OperatorStatementSyntax ^ WithOperatorKeyword(Microsoft::CodeAnalysis::SyntaxToken operatorKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.OperatorStatementSyntax WithOperatorKeyword (Microsoft.CodeAnalysis.SyntaxToken operatorKeyword);
member this.WithOperatorKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.OperatorStatementSyntax
Public Function WithOperatorKeyword (operatorKeyword As SyntaxToken) As OperatorStatementSyntax

Parameters

operatorKeyword
SyntaxToken

Returns

Applies to