Share via


CrefOperatorReferenceSyntax.WithOperatorToken(SyntaxToken) Method

Definition

Returns a copy of this with the OperatorToken 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::CrefOperatorReferenceSyntax ^ WithOperatorToken(Microsoft::CodeAnalysis::SyntaxToken operatorToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.CrefOperatorReferenceSyntax WithOperatorToken (Microsoft.CodeAnalysis.SyntaxToken operatorToken);
member this.WithOperatorToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CrefOperatorReferenceSyntax
Public Function WithOperatorToken (operatorToken As SyntaxToken) As CrefOperatorReferenceSyntax

Parameters

operatorToken
SyntaxToken

Returns

Applies to