ArcGIS Pro 2.6 API Reference Guide
Layer Property (SnapResult)

ArcGIS.Desktop.Mapping Namespace > SnapResult Class : Layer Property
Gets the Layer the vertex has snapped to.
Syntax
public Layer Layer {get;}
Public ReadOnly Property Layer As Layer
Remarks
If the vertex has not snapped, the Layer is null.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

SnapResult Class
SnapResult Members