TocEntryCompareTo Method
Compares this instance to another instance and returns an indication of their relative values
Namespace: Sandcastle.Core.ConceptualContentAssembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2025.9.30.0
public int CompareTo(
TocEntry other
)
Public Function CompareTo (
other As TocEntry
) As Integer
public:
virtual int CompareTo(
TocEntry^ other
) sealed
abstract CompareTo :
other : TocEntry -> int
override CompareTo :
other : TocEntry -> int
- other TocEntry
- A TocEntry object to compare
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.
IComparableTCompareTo(T) The
SortOrder property is compared first. If equal, the
Title
property is used.