ArcGIS Pro 3.7 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 Function IsValid() As Boolean
    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 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.1 or higher.
    See Also