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


INetworkElement.OID Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

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