M-Files API 22.6.11519.0
Compare Method
IObjectComparer Interface : Compare Method
Description
Compares given objects.
Syntax
Visual Basic
Public Function Compare( _
   ByVal ObjectVersionDataLeft As ObjectVersion, _
   ByVal ObjectVersionDataRight As ObjectVersion _
) As Long
Parameters
ObjectVersionDataLeft
ObjectVersionDataRight
Return Type

If the return value is less than zero, the left object version precedes the right one. If the return value is greater than zero, the right object version precedes the left one. If the return value is zero, the object versions have equal order ranking. 

See Also

IObjectComparer Interface  | IObjectComparer Members  | ObjectFiles Object