ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapMember Class / GetTime Method

In This Topic
    GetTime Method
    In This Topic
    Gets the current time parameters for the mapMember. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public TimeParameters GetTime()
    Public Function GetTime() As TimeParameters

    Return Value

    A TimeParameters or null if time filtering is not supported.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Remarks
    You should always check using the CanGetTime method before calling this method.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also