ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / ILayerContainer Interface / FindLayer Method
The URI of the layer. Which is unique identifier for each layer
(optional) When true the search continues in group layers. (default value = true)

FindLayer Method (ILayerContainer)
Finds a layer using a URI.
Syntax

Parameters

layerURI
The URI of the layer. Which is unique identifier for each layer
recursive
(optional) When true the search continues in group layers. (default value = true)

Return Value

Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also