ArcGIS Pro 2.7 API Reference Guide
SetExcluded Method

ArcGIS.Desktop.Mapping Namespace > SliceAffectedLayer Class : SetExcluded Method
If true, the layer will not be sliced.
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 10, Windows 8.1

See Also

Reference

SliceAffectedLayer Class
SliceAffectedLayer Members