This document is archived and information here might be outdated. Recommended version. |
Provides access to members that specify the properties of an attribute in a network dataset.
Name | Description | |
---|---|---|
DataType | Type of data used in this network attribute. | |
ID | Unique identifier of this network attribute. | |
IsTimeAware | Indicates if the network attribute is time aware. | |
Name | Name of this network attribute. | |
Parameters | Array of parameters for this network attribute. | |
Refresh | Refresh the network evaluators assigned to this network attribute. | |
Units | Units of this network attribute. | |
UsageType | Usage type of this network attribute. | |
UseByDefault | Indicates if this network attribute is to be used by default. |
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 | Description |
---|---|
EvaluatedNetworkAttribute | A container for describing a network dataset attribute and its evaluators. |
NetworkAttribute | A container for describing a network dataset attribute. |
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.