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

In This Topic
    Layer Property (SnapResult)
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also