IEvaluatedNetworkAttribute Interface

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

Members

Name Description
Read/write property DataType Type of data used in this network attribute.
Read/write property DefaultEvaluator Evaluator used to derive attribute values for the given element type when an evaluator is not specified for a network element's source.
Read-only property DENetworkDataset Evaluator used to derive values from the given network source for this network attribute.
Read/write property Evaluator Evaluator used to derive values from the given network source for 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.

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.

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