ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TimeRange Class / Intersects Method / Intersects(DateTime) Method
The date to intersect.

In This Topic
    Intersects(DateTime) Method
    In This Topic
    Checks if this instance intersects the specified date.
    Syntax
    public bool Intersects( 
       DateTime dateTime
    )
    Public Overloads Function Intersects( _
       ByVal dateTime As Date _
    ) As Boolean

    Parameters

    dateTime
    The date to intersect.

    Return Value

    True if the value intersects the current instance.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also