ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / ImageServiceLayer Class / ClearSelection Method

In This Topic
    ClearSelection Method (ImageServiceLayer)
    In This Topic
    Clears the current selection. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void ClearSelection()
    Public Sub ClearSelection() 
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Remarks
    No action is performed if the layer does not support selection (see SupportsSelection).
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.5 or higher.
    See Also