ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapMember Class / CanGetTime Method
Version

CanGetTime Method
Gets if the mapMember supports time filtering. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public virtual bool CanGetTime()

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 GetTime method.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.1 or higher.
See Also