SortByAddrItemHelper.CompareToByAddrAndSize (METH)ΒΆ
METHOD CompareToByAddrAndSize : DINT
Compares this element with pOther. Returns 0 if the elements are equal, < 0 if the element is less than itfElement, > 0 if the element is greater than itfElement. This method will be called from sorted collections (e.g. |SortedList|) to sort elements. IMPORTANT: The underlying value to be compared with MUST NOT be changed during the lifecycle of the object.
- InOut:
Scope
Name
Type
Return
CompareToByAddrAndSize
DINT
Input
pOther
POINTER TO SortByAddrItemHelper