Delen via


SyntaxToken.IsEquivalentTo(SyntaxToken) Method

Definition

Determines if this token is equivalent to the specified token.

public:
 bool IsEquivalentTo(Microsoft::CodeAnalysis::SyntaxToken token);
public bool IsEquivalentTo (Microsoft.CodeAnalysis.SyntaxToken token);
member this.IsEquivalentTo : Microsoft.CodeAnalysis.SyntaxToken -> bool
Public Function IsEquivalentTo (token As SyntaxToken) As Boolean

Parameters

token
SyntaxToken

Returns

Applies to