ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.Data.UtilityNetwork Namespace / Element Class / ObjectID Property

In This Topic
    ObjectID Property (Element)
    In This Topic
    Gets the ObjectID of the Row represented by the Element.
    Syntax
    Public ReadOnly Property ObjectID As Long
    public long ObjectID {get;}
    Remarks
    If the Element was constructed using an AssetType and GlobalID, rather than a ArcGIS.Core.Data.Row, this property will return a -1. The Element does not fetch the row to obtain this information if it doesn't already have it.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also