Partager via


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

Parameters

operatorToken
SyntaxToken

Returns

Applies to