ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / SnapResult Class / Layer Property

Layer Property (SnapResult)
Gets the Layer the vertex has snapped to.
Syntax
public Layer Layer {get;}
Remarks
If the vertex has not snapped, the Layer is null.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.6 or higher.
See Also