SliceAffectedLayer objects can be used to set a layer to be included or excluded from slicing.
Use SliceAffectedLayer.GetAllSliceLayers() to retrieve SliceAffectedLayer objects to work with.
System.Object
ArcGIS.Desktop.Mapping.SliceAffectedLayer
Target Platforms: Windows 10, Windows 8.1