ArcGIS Pro 2.6 API Reference Guide
UnSelectElements Method

ArcGIS.Desktop.Mapping Namespace > GraphicsLayerExtensions Class : UnSelectElements Method
The elements to unselect. If null then all elements are unselected
Unselect the elements within the GraphicsLayer collection
Syntax
public static void UnSelectElements( 
   GraphicsLayer graphicsLayer,
   IEnumerable<Element> elements
)
Public Shared Sub UnSelectElements( _
   ByVal graphicsLayer As GraphicsLayer, _
   Optional ByVal elements As IEnumerable(Of Element) _
) 

Parameters

graphicsLayer
elements
The elements to unselect. If null then all elements are unselected
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
The map view displaying the graphics layer should be initialized.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

GraphicsLayerExtensions Class
GraphicsLayerExtensions Members