ArcGIS Pro 2.6 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 10, Windows 8.1, Windows 7

See Also

Reference

SnapResult Class
SnapResult Members