Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

da138e22 78ea a1e0 17cc 4fc3dfc0de26

haplokuon edited this page May 6, 2023 · 1 revision

CompareTo(TableObject) Method

netDxf 3.0.0 Library

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

Definition

Namespace: netDxf.Tables
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public int CompareTo(
	TableObject other
)

VB

Public Function CompareTo ( 
	other As TableObject
) As Integer

C++

public:
virtual int CompareTo(
	TableObject^ other
) sealed

F#

abstract CompareTo : 
        other : TableObject -> int 
override CompareTo : 
        other : TableObject -> int 

Parameters

  TableObject
A TableObject to compare with this TableObject.

Return Value

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

IComparable(T).CompareTo(T)

Remarks

If both table objects are not of the same type it will return zero. The comparison is made by their names.

See Also

Reference

TableObject Class
CompareTo Overload
netDxf.Tables Namespace

Clone this wiki locally