ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / IElementContainer Interface / UnselectElements Method

In This Topic
    UnselectElements Method (IElementContainer)
    In This Topic
    Unselect elements with matching names
    Syntax
    void UnselectElements( 
       IEnumerable<string> names,
       bool syncViewer,
       bool syncTOC
    )
    Sub UnselectElements( _
       ByVal names As IEnumerable(Of String), _
       Optional ByVal syncViewer As Boolean, _
       Optional ByVal syncTOC As Boolean _
    ) 

    Parameters

    names
    syncViewer
    syncTOC
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also