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

GetDataTimeIntervals Method
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.
Syntax
public IReadOnlyList<string> GetDataTimeIntervals( 
   string fieldName
)

Parameters

fieldName
The data field name to obtain the time intervals for.

Return Value

A list of time intervals.
Exceptions
ExceptionDescription
fieldName is null or empty.
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
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.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.1 or higher.
See Also