ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / CompositeFeatureLayer Class / FindLayers Method
Name of the layer
(optional) When true the search continues in group layers. (default value = true)

In This Topic
    FindLayers Method (CompositeFeatureLayer)
    In This Topic
    Finds layers by name.
    Syntax
    Public Function FindLayers( _
       ByVal name As String, _
       Optional ByVal recursive As Boolean _
    ) As IReadOnlyList(Of Layer)

    Parameters

    name
    Name of the layer
    recursive
    (optional) When true the search continues in group layers. (default value = true)

    Return Value

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.3 or higher.
    See Also