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

In This Topic
    IsValid Method (TimeParameters)
    In This Topic
    Gets if the time parameters are valid.
    Syntax
    public bool IsValid()
    Public Function IsValid() As Boolean

    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