ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / IElementContainer Interface / ClearElements Method
Version

ClearElements Method
Clears all the elements from the collection.
Syntax
void ClearElements()
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.0 or higher.
See Also