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


INetworkFunctionEvaluator Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

INetworkFunctionEvaluator Interface

Provides access to members that specify the properties of a function evaluator.

Product Availability

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

Description

This interface is new at ArcGIS 9.3.

Members

Description
Read/write property FirstArgument The attribute name or constant value representing the first argument of the function.
Method GetOperators Get the list of supported binary operator names.
Read/write property Operator The operator used in the function.
Read/write property SecondArgument The parameter name or constant value representing the second argument of the function.

CoClasses that implement INetworkFunctionEvaluator

CoClasses and Classes Description
NetworkFunctionEvaluator A container for describing a network evaluator function.

Remarks

The INetworkFunctionEvaluator interface is used to access the arguments and operator assigned by this NetworkFunctionEvaluator object.

The FirstArgument must be the name of a NetworkAttribute or a constant value.

The SecondArgument must be the name of a NetworkAttributeParameter or a constant value.

If the FirstArgument or SecondArgument is a constant value, it should be of the same DataType for the network attribute to which this evaluator is assigned.

The Operator must be set to one of the operators returned in GetOperators.

 

Example:  Set a numeric network attribute equal to the DriveTime network attribute multiplied by 1.25.

 

Example:  Set a restriction network attribute equal to True when the Vehicle Height network parameter exceeds the MaxHeight network attribute.