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


IEvaluatedNetworkAttribute.Evaluator Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IEvaluatedNetworkAttribute.Evaluator Property

Evaluator used to derive values from the given network source for this network attribute.

[Visual Basic .NET]
Public Function get_Evaluator ( _
    ByVal NetworkSource As INetworkSource, _
    ByVal Direction As esriNetworkEdgeDirection _
) As INetworkEvaluator
[Visual Basic .NET]
Public Sub set_Evaluator ( _
    ByVal NetworkSource As INetworkSource, _
    ByVal Direction As esriNetworkEdgeDirection, _
    ByVal Evaluator As INetworkEvaluator _
)
[C#]
public INetworkEvaluator get_Evaluator (
    INetworkSource NetworkSource,
    esriNetworkEdgeDirection Direction
);
[C#]
public void set_Evaluator (
    INetworkSource NetworkSource,
    esriNetworkEdgeDirection Direction,
    INetworkEvaluator Evaluator
);
[C++]
HRESULT get_Evaluator(
  INetworkSource* NetworkSource,
  esriNetworkEdgeDirection Direction,
  INetworkEvaluator** Evaluator
);
[C++]
HRESULT putref_Evaluator(
  INetworkSource* NetworkSource,
  esriNetworkEdgeDirection Direction,
  INetworkEvaluator* Evaluator
);
[C++]

Parameters NetworkSource [in]
NetworkSource is a parameter of type INetworkSource Direction [in]
Direction is a parameter of type esriNetworkEdgeDirection Evaluator [out, retval]
Evaluator is a parameter of type INetworkEvaluator NetworkSource [in]
NetworkSource is a parameter of type INetworkSource Direction [in]
Direction is a parameter of type esriNetworkEdgeDirection Evaluator [in]
Evaluator is a parameter of type INetworkEvaluator

Product Availability

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

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.

See Also

IEvaluatedNetworkAttribute Interface

.NET Samples

Subset network evaluators (Code Files: SubsetHelper)