TocEntryCompareTo Method
Compares this instance to another instance and returns an indication of their relative values
Namespace: SandcastleBuilder.Utils.ConceptualContentAssembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2024.9.12.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.