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


INetworkScriptEvaluator.GetExpression Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkScriptEvaluator Interface > INetworkScriptEvaluator.GetExpression Method
ArcGIS Developer Help

INetworkScriptEvaluator.GetExpression Method

Gets the VBScript calculator expression and pre-logic used to derive the values for this network evaluator.

[Visual Basic .NET]
Public Sub GetExpression ( _
    ByRef Expression As String, _
    ByRef preLogic As String _
)
[C#]
public void GetExpression (
    ref string Expression,
    ref string preLogic
);
[C++]
HRESULT GetExpression(
  System.String* Expression,
  System.String* preLogic
);
[C++]
Parameters
Expression [in, out]

Expression is a parameter of type BSTR* preLogic [in, out]
preLogic is a parameter of type BSTR*

Product Availability

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

Remarks

When examining the preLogic parameter for code with multiple lines, the CarriageReturn-LineFeed character is at the line breaks.

See Also

INetworkScriptEvaluator Interface