ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Desktop.Presentations Namespace / PresentationView Class / UnSelectElements Method
The selected elements to unselect. If null then all elements are unselected.

In This Topic
    UnSelectElements Method (PresentationView)
    In This Topic
    Unselects the elements within the presentation view.
    Syntax
    public void UnSelectElements( 
       IEnumerable<Element> elements
    )
    Public Sub UnSelectElements( _
       Optional ByVal elements As IEnumerable(Of Element) _
    ) 

    Parameters

    elements
    The selected elements to unselect. If null then all elements are unselected.
    Remarks
    If a child of a group element is provided in the list of elements to be unselected in addition to its parent then the parent is the element unselected.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.5 or higher.
    See Also