TocEntryCompareTo Method

Compares this instance to another instance and returns an indication of their relative values

Definition

Namespace: SandcastleBuilder.Utils.ConceptualContent
Assembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2024.9.12.0
public int CompareTo(
	TocEntry other
)

Parameters

other  TocEntry
A TocEntry object to compare

Return Value

Int32
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.

Implements

IComparableTCompareTo(T)

Remarks

The SortOrder property is compared first. If equal, the Title property is used.

See Also