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


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

ITimeRelationalOperator.Touches Method

Indicates whether the boundaries of the time values intersect.

[Visual Basic .NET]
Public Function Touches ( _
    ByVal otherTimeValue As ITimeValue _
) As Boolean
[C#]
public bool Touches (
    ITimeValue otherTimeValue
);
[C++]
HRESULT Touches(
  ITimeValue* otherTimeValue
);
[C++]
Parameters
otherTimeValue [in]

otherTimeValue is a parameter of type ITimeValue*

Product Availability

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

Description

This function results in a TRUE value if there exists a Time instant that is contained by both of the TimeExtents.  for example if the time extents are 1:00-2:00 and 2:00-3:00, then there is exactly one moment in time (2:00) that is in both TimeExtents.

See Also

ITimeRelationalOperator Interface