This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IT > ITimeRelationalOperator Interface > ITimeRelationalOperator.Touches Method (ArcObjects .NET 10.5 SDK) |
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
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.