Share via


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

Parameters

operatorToken
SyntaxToken

Returns

Applies to