ArcGIS Pro 2.6 API Reference Guide
SnapModes Property
Example 

ArcGIS.Desktop.Mapping Namespace > Snapping Class : SnapModes Property
Gets or sets a collection of the current snapping modes.
Syntax
public static IEnumerable<SnapMode> SnapModes {get; set;}
Public Shared Property SnapModes As IEnumerable(Of SnapMode)
Example
//Get the current snapping modes
foreach (var snappingMode in Snapping.SnapModes)
  { ... } // do something for currently set snapping modes
  
//Set the current snapping modes
var modes = Snapping.SnapModes;
Snapping.SnapModes = modes;
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

Snapping Class
Snapping Members