This document is archived and information here might be outdated.  Recommended version.


ITime.Compare Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IT > ITime Interface > ITime.Compare Method
ArcGIS Developer Help

ITime.Compare Method

Compares this time to the other time. Returns -1 if this time's value is less, 1 if greater, and 0 otherwise.

[Visual Basic .NET]
Public Function Compare ( _
    ByVal otherTime As ITime _
) As Integer
[C#]
public int Compare (
    ITime otherTime
);
[C++]
HRESULT Compare(
  ITime* otherTime
);
[C++]
Parameters
otherTime [in]

otherTime is a parameter of type ITime*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

ITime Interface