SemanticTokensEdit.CompareTo(SemanticTokensEdit) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.