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


INetworkScriptEvaluator.GetExpression Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

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(
  BSTR* Expression,
  BSTR* 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