Click or drag to resize
Sandcastle Help File BuilderTocEntryCompareTo Method
Compares this instance to another instance and returns an indication of their relative values.

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

Parameters

other
Type: SandcastleBuilder.Utils.ConceptualContentTocEntry
A TocEntry object to compare

Return Value

Type: 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