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

12414fe3 28fd 20de 0f95 90d38df05330

haplokuon edited this page May 6, 2023 · 1 revision

CompareTo(Object) 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(
	Object other
)

VB

Public Function CompareTo ( 
	other As Object
) As Integer

C++

public:
virtual int CompareTo(
	Object^ other
) sealed

F#

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

Parameters

  Object
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.CompareTo(Object)

Remarks

If both table objects are no 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