ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / SliceAffectedLayer Class / SetExcluded Method
If true, the layer will not be sliced.

In This Topic
    SetExcluded Method
    In This Topic
    Set whether the layer should be included or excluded in slicing.
    Syntax
    public void SetExcluded( 
       bool exclude
    )
    Public Sub SetExcluded( _
       ByVal exclude As Boolean _
    ) 

    Parameters

    exclude
    If true, the layer will not be sliced.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also