ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / SliceAffectedLayer Class / ID Property

ID Property (SliceAffectedLayer)
Unique ID for the layer.
Syntax
public string ID {get;}
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.3 or higher.
See Also