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

SetExcluded Method
Set whether the layer should be included or excluded in slicing.
Syntax
public void SetExcluded( 
   bool exclude
)

Parameters

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

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also