Provides access to members that specify the properties of an evaluated attribute in a network dataset.
Members
Name | Description | |
---|---|---|
DataType | Type of data used in this network attribute. | |
DefaultEvaluator | Evaluator used to derive attribute values for the given element type when an evaluator is not specified for a network element's source. | |
DENetworkDataset | Evaluator used to derive values from the given network source for this network attribute. | |
Evaluator | Evaluator used to derive values from the given network source for 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. |
IEvaluatedNetworkAttribute.DefaultEvaluator Property
Evaluator used to derive attribute values for the given element type when an evaluator is not specified for a network element's source.
Public Function get_DefaultEvaluator ( _
ByVal ElementType As esriNetworkElementType _
) As INetworkEvaluator
Public Sub set_DefaultEvaluator ( _
ByVal ElementType As esriNetworkElementType, _
ByVal Evaluator As INetworkEvaluator _
)
public INetworkEvaluator get_DefaultEvaluator (
esriNetworkElementType ElementType
);
public void set_DefaultEvaluator (
esriNetworkElementType ElementType,
INetworkEvaluator Evaluator
);
Remarks
The NetworkFieldEvaluator cannot be used as a DefaultEvaluator for any element type.
IEvaluatedNetworkAttribute.DENetworkDataset Property
Evaluator used to derive values from the given network source for this network attribute.
Public ReadOnly Property DENetworkDataset As IDENetworkDataset
public IDENetworkDataset DENetworkDataset {get;}
IEvaluatedNetworkAttribute.Evaluator Property
Evaluator used to derive values from the given network source for this network attribute.
Public Function get_Evaluator ( _
ByVal NetworkSource As INetworkSource, _
ByVal Direction As esriNetworkEdgeDirection _
) As INetworkEvaluator
Public Sub set_Evaluator ( _
ByVal NetworkSource As INetworkSource, _
ByVal Direction As esriNetworkEdgeDirection, _
ByVal Evaluator As INetworkEvaluator _
)
public INetworkEvaluator get_Evaluator (
INetworkSource NetworkSource,
esriNetworkEdgeDirection Direction
);
public void set_Evaluator (
INetworkSource NetworkSource,
esriNetworkEdgeDirection Direction,
INetworkEvaluator Evaluator
);
Remarks
If the NetworkSource parameter is an EdgeFeatureSource, then you must specify in the Direction parameter the traversal direction for which this evaluator applies (esriNEDAlongDigitized or esriNEDAgainstDigitized).
If the NetworkSource parameter is not an EdgeFeatureSource, then specify esriNEDNone for the Direction parameter.
Inherited Interfaces
Interfaces | Description |
---|---|
INetworkAttribute | Provides access to members that specify the properties of an attribute in a network dataset. |
Classes that implement IEvaluatedNetworkAttribute
Classes | Description |
---|---|
EvaluatedNetworkAttribute | A container for describing a network dataset attribute and its evaluators. |
Remarks
The IEvaluatedNetworkAttributeinterface is used to access the default and source evaluators of an evaluated network attribute object
To access the EvaluatedNetworkAttribute object for an existing network dataset attribute, use the Attribute, AttributeByID, or AttributeByName methods on the INetworkDataset interface.
The IEvaluatedNetworkAttributeinterface is also used to define a new network attribute. To create a new network attribute, cocreate an EvaluatedNetworkAttribute object, specify its properties using the INetworkAttribute interface, specify its evaluators using the IEvaluatedNetworkAttribute interface, and pass the object to the INetworkBuild::AddAttribute method on the network dataset.