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


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

INetworkAttribute3 Interface

Provides access to members that specify the properties of an attribute in a network dataset.

Product Availability

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

Members

Name Description
Read/write property DataType Type of data used in this network attribute.
Read-only property ID Unique identifier of this network attribute.
Read-only property IsTimeAware Indicates if the network attribute is time aware.
Read/write property Name Name of this network attribute.
Read/write property Parameters Array of parameters for this network attribute.
Method Refresh Refresh the network evaluators assigned to this network attribute.
Read/write property Units Units of this network attribute.
Read/write property UsageType Usage type of this network attribute.
Read/write property UseByDefault Indicates if this network attribute is to be used by default.

Inherited Interfaces

Interfaces Description
INetworkAttribute2 Provides access to members that specify the properties of an attribute in a network dataset.
INetworkAttribute Provides access to members that specify the properties of an attribute in a network dataset.

Classes that implement INetworkAttribute3

Classes Description
EvaluatedNetworkAttribute A container for describing a network dataset attribute and its evaluators.
NetworkAttribute A container for describing a network dataset attribute.

Remarks

The INetworkAttribute3 interface is used to access the properties of the network attribute, such as its name, usage type, and if it is time aware.

To access the NetworkAttribute or EvaluatedNetworkAttribute object for an existing network dataset attribute, use the Attribute, AttributeByID, or AttributeByName methods on the INetworkDataset interface.

The INetworkAttribute3 interface is also used to define a new network attribute.  To create a new network attribute, cocreate an EvaluatedNetworkAttribute object, specify its properties, and pass the object to the INetworkBuild::AddAttribute method on the network dataset.

.NET Samples

ArcGIS Network Analyst extension Engine application