Compare fields. Return result as 0 = match, -1 = field1 < field2, 1 = field1 > field2, 2 = force caller to calculate.
[Visual Basic .NET] Public Function Compare ( _ ByVal value1 As Object, _ ByVal value2 As Object, _ ByVal FieldIndex As Integer, _ ByVal fieldSortIndex As Integer _ ) As Integer
[C#] public int Compare ( object value1, object value2, int FieldIndex, int fieldSortIndex );
[C++]
HRESULT Compare(
VARIANT value1,
VARIANT value2,
long FieldIndex,
long fieldSortIndex,
Long* result
);
[C++]Parameters
value1 [in] value1 is a parameter of type VARIANT value2 [in] value2 is a parameter of type VARIANT FieldIndex [in] FieldIndex is a parameter of type long fieldSortIndex [in] fieldSortIndex is a parameter of type long result [out, retval] result is a parameter of type Long
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
See Also
ITableSortCallBack Interface | ITableSortCallBack.Compare Method | ITableSortCallBack Interface