ArcObjects Library Reference (GeoDatabase)  

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.

[Visual Basic .NET]
Public Function get_DefaultEvaluator ( _
    ByVal ElementType As esriNetworkElementType _
) As INetworkEvaluator
[Visual Basic .NET]
Public Sub set_DefaultEvaluator ( _
    ByVal ElementType As esriNetworkElementType, _
    ByVal Evaluator As INetworkEvaluator _
)
[C#]
public INetworkEvaluator get_DefaultEvaluator (
    esriNetworkElementType ElementType
);
[C#]
public void set_DefaultEvaluator (
    esriNetworkElementType ElementType,
    INetworkEvaluator Evaluator
);
[C++]
HRESULT get_DefaultEvaluator(
  esriNetworkElementType ElementType,
  INetworkEvaluator** Evaluator
);
[C++]
HRESULT putref_DefaultEvaluator(
  esriNetworkElementType ElementType,
  INetworkEvaluator* Evaluator
);
[C++]

Parameters

ElementType [in]

  ElementType is a parameter of type esriNetworkElementType

Evaluator [out, retval]

  Evaluator is a parameter of type INetworkEvaluator

ElementType [in]

  ElementType is a parameter of type esriNetworkElementType

Evaluator [in]

  Evaluator is a parameter of type INetworkEvaluator

Product Availability

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

Remarks

The NetworkFieldEvaluator cannot be used as a DefaultEvaluator for any element type.

See Also

IEvaluatedNetworkAttribute Interface

.NET Samples

Subset network evaluators (Code Files: SubsetHelper) |