Toc EntryCompare 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(
TocEntry other
)VB
Public Function CompareTo (
other As TocEntry
) As IntegerC++
public:
virtual int CompareTo(
TocEntry^ other
) sealedF#
abstract CompareTo :
other : TocEntry -> int
override CompareTo :
other : TocEntry -> int Parameters
- other TocEntry
- A TocEntry 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.