MSHelp KeywordCompare To Method
Compares this instance to another instance and returns an indication of their relative values
Definition
Namespace: Sandcastle.Core.ConceptualContent
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
Returns -1 if this instance is less than the value, 0 if they are equal, or 1 if this instance is greater than the value or the value is null.
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
C#
public int CompareTo(
MSHelpKeyword other
)VB
Public Function CompareTo (
other As MSHelpKeyword
) As IntegerC++
public:
virtual int CompareTo(
MSHelpKeyword^ other
) sealedF#
abstract CompareTo :
other : MSHelpKeyword -> int
override CompareTo :
other : MSHelpKeyword -> int Parameters
- other MSHelpKeyword
- A MSHelpKeyword object to compare
Return Value
Int32Returns -1 if this instance is less than the value, 0 if they are equal, or 1 if this instance is greater than the value or the value is null.
Implements
IComparableTCompareTo(T)Remarks
Entries are sorted by name and then value