Share via


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

Parameters

operatorToken
SyntaxToken

Returns

Applies to