DistanceCompareTo Method |
Compares the current object with another object of the same type.
Namespace: Tekla.Structures.Datatype
Assembly: Tekla.Structures.Datatype (in Tekla.Structures.Datatype.dll) Version: 2024.0.0+a110b435391768740483e3032720a566518c9a63
Syntax
Parameters
- other
- Type: Tekla.Structures.DatatypeDistance
The object to be compared with the current object.
Return Value
Type: Int32A 32-bit signed integer that indicates the relative order of the objects being compared.
The return value has the following meanings:
Value | Meaning |
---|---|
Less than zero | The current object is less than the other object. |
Zero | The current object is equal to the other object. |
Greater than zero | The current object is greater than the other object. |
Implements
IComparableTCompareTo(T)See Also