Interface INetworkFieldEvaluator

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll

Provides access to members that specify the properties of a network attribute evaluator whose values are derived from object field attributes.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("6337AB0F-7A5E-4DE6-BB75-492B407146FF")]
public interface INetworkFieldEvaluator

Remarks

The INetworkFieldEvaluator interface accesses the code used by a NetworkFieldEvaluator object for calculating the attribute value for a network element.  Any setup computations needed prior to calculate the attribute value are specified in the preLogic parameter.  The value of the attribute is computed from the expression.

The example below shows the preLogic and expression for determining the direction of travel based on a string field named One_way:

  • PreLogic:
restricted = False
   Select Case UCase([One_way])
     Case "N", "TF", "T": restricted = True
   End Select
  • Expression:
restricted

Properties

Expression

Sets the VBScript calculator expression for this network evaluator.

string Expression { get; set; }

Property Value

string

ExpressionPreLogic

Sets the pre-logic used to derive the values for this network evaluator.

string ExpressionPreLogic { get; set; }

Property Value

string

Language

Sets the script language

string Language { get; set; }

Property Value

string