ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapMember Class / GetDataTimeIntervals Method
The data field name to obtain the time intervals for.

In This Topic
    GetDataTimeIntervals Method
    In This Topic
    Gets the set of time intervals for the specified field name present in the data. This method must be called on the MCT. Use QueuedTask.Run.
    public IReadOnlyList<string> GetDataTimeIntervals( 
       string fieldName
    Public Function GetDataTimeIntervals( _
       ByVal fieldName As String _
    ) As IReadOnlyList(Of String)


    The data field name to obtain the time intervals for.

    Return Value

    A list of time intervals.
    fieldName is null or empty.
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Use this method on datasets where the data was captured at irregular intervals - such as earthquakes or power outages. The values returned are the data capture intervals for the rows. MapMembers that have a time filter with a TimeIntervalType of TimeIntervalType.Irregular use these same time interval values to filter the data in the UI.

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also