Click or drag to resize

TableObjectCompareTo Method (TableObject)

Compares the current TableObject with another TableObject of the same type.

Namespace:  DXFReaderNET.Tables
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public int CompareTo(
	TableObject other
)

Parameters

other
Type: DXFReaderNET.TablesTableObject
A TableObject to compare with this TableObject.

Return Value

Type: Int32
An integer that indicates the relative order of the table objects being compared. The return value has the following meanings: Value Meaning Less than zero This object is less than the other parameter. Zero This object is equal to other. Greater than zero This object is greater than other.

Implements

IComparableTCompareTo(T)
Remarks
If both table objects are no of the same type it will return zero. The comparison is made by their names.
See Also