ArcGIS Pro 2.9 API Reference Guide
OID Property

ArcGIS.Desktop.Mapping Namespace > SnapResult Class : OID Property
Gets the ObjectID of the feature in the Layer the vertex has snapped to.
Syntax
public long OID {get;}
Public ReadOnly Property OID As Long
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

SnapResult Class
SnapResult Members