ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapMember Class / CanClearTime Method

In This Topic
    CanClearTime Method
    In This Topic
    Gets if the mapMember supports time filtering and can clear the time filter. Clearing the time filter ensures that data is always shown. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public Function CanClearTime() As Boolean
    public bool CanClearTime()

    Return Value

    True if the mapMember supports time filtering. False otherwise.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Remarks
    You should use this method before calling the ClearTime method.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.1 or higher.
    See Also