ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / TimeParameters Class / IsValid Method
Version

IsValid Method (TimeParameters)
Gets if the time parameters are valid.
Syntax
public bool IsValid()

Return Value

True if valid. False otherwise
Remarks
The following outlines some of the rules for determining validity of the time parameters

- if no StartTimeFieldName is specified, then a Start or End is required

- TimeFormat must be a valid time format if specified. See GetSupportedTimeFormats.

- if a TimeIntervalType is TimeIntervalType.Irregular, then a StartTimeFieldName is required.

Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.1 or higher.
See Also