ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Editing.Attributes Namespace / Inspector Class / ObjectIDAttribute Property

ObjectIDAttribute Property
Gets the attribute for the ObjectID field.
Syntax
public Attribute ObjectIDAttribute {get;}
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also