ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMLegend Class / ExcludedLayers Property
Version

ExcludedLayers Property
Gets or sets a collection of layer URIs from the associated map that are explicitly excluded from the legend.
Syntax
public string[] ExcludedLayers {get; set;}
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also