API Reference

Detailed and full API reference helps you master Tekla development

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

Meta.Microsoft.Help.Id
M:Tekla.Structures.Model.ModelObject.CompareTo(System.Object)

ModelObjectCompareTo Method

Compares Identifiers of model objects.

Namespace:  Tekla.Structures.Model
Assembly:  Tekla.Structures.Model (in Tekla.Structures.Model.dll) Version: 2019.1.0.0 (2019.1.0.0)
Syntax
public int CompareTo(
	Object obj
)

Parameters

obj
Type: SystemObject
The model object to be used in comparison.

Return Value

Type: Int32
0 if object Identifiers are the same, 1 if given object Identifier is bigger, -1 otherwise.

Implements

IComparableCompareTo(Object)
See Also