Click or drag to resize

TableObjectCompareTo Method (TableObject)

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Compares the current TableObject with another TableObject of the same type.

Namespace:  netDxf.Tables
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public int CompareTo(
	TableObject other
)
Request Example View Source

Parameters

other
Type: netDxf.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