DOFInterfaceItemCompareTo Method OpenDOF Object Access Library
compareTo compares this Item with another object lexicographically.

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

C#
public virtual int CompareTo(
	DOFInterfaceItem def
)

Parameters

def
Type: org.opendof.core.oalDOFInterfaceItem
Another Item. Must not be null.

Return Value

Type: Int32
1 if this object is lexicographically larger than the other object, -1 if this object is less than the other object and 0 of they are equal.

Implements

IComparableTCompareTo(T)
Remarks

compareTo compares this Item with another object lexicographically.
See Also

Reference