ArcGIS Pro 2.8 API Reference Guide
FindElements Method (Layout)

ArcGIS.Desktop.Layouts Namespace > Layout Class : FindElements Method
The names of the elements to find. Cannot be null
Finds the elements recursively with the given names on the page layout.
Syntax

Parameters

elementNames
The names of the elements to find. Cannot be null

Return Value

A IList or an empty list if no elements are found
Exceptions
ExceptionDescription
Value cannot be null: elementNames
Remarks
Find recurses nested groups to find the given elements.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Layout Class
Layout Members