ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / Snapping Class / SetLayerSnapModes Method

SetLayerSnapModes Method
Overload List
OverloadDescription
Sets all snap modes on a layer to on(true) or off(false).  
Sets all snap modes on a collection of layers to on (true) or off (false).  
Sets the snap modes for a layer.  
Sets the state of a single SnapMode for a Layer.  
Sets the snap modes for a collection of layers.  
Sets the snap modes for a layer  
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.6 or higher.
See Also