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

In This Topic
    ExcludedLayers Property
    In This Topic
    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;}
    Public Property ExcludedLayers As String()
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also