This document is archived and information here might be outdated.  Recommended version.


INetworkElement.OID Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkElement Interface > INetworkElement.OID Property
ArcGIS Developer Help

INetworkElement.OID Property

Object ID of the object corresponding to this network element.

[Visual Basic .NET]
Public ReadOnly Property OID As Integer
[C#]
public int OID {get;}
[C++]
HRESULT get_OID(
void
);

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The OID property returns the ObjectID of the feature that generated this network element.

See Also

INetworkElement Interface