共用方式為


SemanticTokensEdit.CompareTo(SemanticTokensEdit) Method

Definition

Compares two SemanticTokensEdits based on their order.

public:
 virtual int CompareTo(Microsoft::VisualStudio::LanguageServer::Protocol::SemanticTokensEdit ^ other);
public int CompareTo (Microsoft.VisualStudio.LanguageServer.Protocol.SemanticTokensEdit? other);
abstract member CompareTo : Microsoft.VisualStudio.LanguageServer.Protocol.SemanticTokensEdit -> int
override this.CompareTo : Microsoft.VisualStudio.LanguageServer.Protocol.SemanticTokensEdit -> int
Public Function CompareTo (other As SemanticTokensEdit) As Integer

Parameters

other
SemanticTokensEdit

The other edit.

Returns

-1 if this item comes first and 1 if it comes second.

Implements

Applies to