INetworkElement Interface

Provides access to members that specify the properties common to all network elements.

Members

Name Description
Read-only property AttributeValue Value of this network element for the given network attribute ID.
Read-only property AttributeValueByName Value of this network element for the given network attribute name.
Read-only property EID Element ID for this network element.
Read-only property ElementType Type of this network element.
Read-only property OID Object ID of the object corresponding to this network element.
Read-only property SourceID ID of the network dataset source from which this network element was derived.

INetworkElement.AttributeValue Property

Value of this network element for the given network attribute ID.

Public Function get_AttributeValue ( _
    ByVal AttributeID As Integer _
) As Object
public object get_AttributeValue (
    int AttributeID
);

Remarks

The AttributeID parameter is the unique ID assigned to the INetworkAttribute in the network dataset.

INetworkElement.AttributeValueByName Property

Value of this network element for the given network attribute name.

Public Function get_AttributeValueByName ( _
    ByVal AttributeName As String _
) As Object
public object get_AttributeValueByName (
    string AttributeName
);

Remarks

The AttributeName parameter is the unique Name specified for the INetworkAttribute at the time the network dataset was created.

INetworkElement.EID Property

Element ID for this network element.

Public ReadOnly Property EID As Long
public long EID {get;}

INetworkElement.ElementType Property

Type of this network element.

Public ReadOnly Property ElementType As esriNetworkElementType
public esriNetworkElementType ElementType {get;}

INetworkElement.OID Property

Object ID of the object corresponding to this network element.

Public ReadOnly Property OID As Long
public long OID {get;}

Remarks

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

INetworkElement.SourceID Property

ID of the network dataset source from which this network element was derived.

Public ReadOnly Property SourceID As Integer
public int SourceID {get;}

Remarks

The SourceID is the unique ID of the INetworkSource that generated this network element.

Classes that implement INetworkElement

Classes Description

Remarks

The INetworkElement interface is used to access the properties of the network element, such as its attribute values and identifiers.

To access the NetworkElement object for an existing element in the network dataset, use the QueryJunction, QueryEdge, or QueryTurn methods on the INetworkQuery interface.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.