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


ITimeRelationalOperator.Touches Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (System)  

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,
  VARIANT_BOOL* Touches
);
[C++]

Parameters otherTimeValue [in]
otherTimeValue is a parameter of type ITimeValue Touches [out, retval] Touches is a parameter of type VARIANT_BOOL

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