Compartir a través de


CrefOperatorReferenceSyntax.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::CrefOperatorReferenceSyntax ^ WithOperatorKeyword(Microsoft::CodeAnalysis::SyntaxToken operatorKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.CrefOperatorReferenceSyntax WithOperatorKeyword (Microsoft.CodeAnalysis.SyntaxToken operatorKeyword);
member this.WithOperatorKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CrefOperatorReferenceSyntax
Public Function WithOperatorKeyword (operatorKeyword As SyntaxToken) As CrefOperatorReferenceSyntax

Parameters

operatorKeyword
SyntaxToken

Returns

Applies to