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


INetworkElement Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

INetworkElement Interface

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

Product Availability

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

Members

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.

CoClasses that implement INetworkElement

CoClasses and Classes Description
NetworkEdge A container for querying information on a network dataset edge element.
NetworkJunction A container for querying information on a network dataset junction element.
NetworkTurn A container for querying information on a network dataset turn element.

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.

.NET Snippets

Display Network Adjacency in MessageBox

.NET Samples

Selection restriction evaluator (Code Files: SelectionRestrictionEvaluator) | ArcGIS Network Analyst extension barrier location editor (Code Files: EditorForm) | Subset network evaluators (Code Files: FilterSubsetEvaluator ScaleSubsetEvaluator SubsetHelperUI)

.NET Related Topics

How to access source features referenced by a network dataset