ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / AnnotationLayer Class / FindLayers Method
Name of the sub layer.
(optional) The parameter gets ignored since there is no sublayers in an AnnotationLayer. (default value = true)

In This Topic
    FindLayers Method (AnnotationLayer)
    In This Topic
    Finds annotation sub 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 sub layer.
    recursive
    (optional) The parameter gets ignored since there is no sublayers in an AnnotationLayer. (default value = true)

    Return Value

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also