ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TimeRange Class / TimeRange Constructor / TimeRange Constructor(DateTime,DateTime)

In This Topic
    TimeRange Constructor(DateTime,DateTime)
    In This Topic
    Initialize a new instance of a TimeRange using a start and end time.
    Syntax
    public TimeRange( 
       DateTime start,
       DateTime end
    )
    Public Function New( _
       ByVal start As Date, _
       ByVal end As Date _
    )

    Parameters

    start
    end
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also