ArcGIS Pro 2.7 API Reference Guide
LayerTemplatePackages Property

ArcGIS.Desktop.Mapping Namespace > Map Class : LayerTemplatePackages Property
Gets the collection of layer template packages installed with Pro for use with maps
Syntax
public IReadOnlyList<Item> LayerTemplatePackages {get;}
Public ReadOnly Property LayerTemplatePackages As IReadOnlyList(Of Item)
Remarks
Currently, these include the set of packages defined for Map Notes. To add one of the templates to the map use LayerFactory.CreateLayer<T>. Use the LayerCreationParams overload: LayerCreationParams.LayerCreationParams Constructor(Item)
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Map Class
Map Members