DOFInterfaceIDCompareTo Method OpenDOF Object Access Library
Compares two DOFInterfaceIDs byte-by-byte until the shortest length.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public int CompareTo(
	DOFInterfaceID other
)

Parameters

other
Type: org.opendof.core.oalDOFInterfaceID
The other DOFInterfaceID to compare against.

Return Value

Type: Int32
  • Zero if completely equal.
  • Less than zero if this is less than other.
  • Greater than zero if all this is greater than other.

Implements

IComparableTCompareTo(T)
Remarks

Compares two DOFInterfaceIDs byte-by-byte until the shortest length. If they are equal to that point, the longer will be considered greater.
See Also

Reference