ArcGIS Pro 2.9 API Reference Guide
FindLayers Method (AnnotationLayer)

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)
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, Windows 8.1

See Also

Reference

AnnotationLayer Class
AnnotationLayer Members