ArcGIS Pro 3.2 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 long ObjectID {get;}
    Public ReadOnly Property ObjectID As Long
    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, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also