This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkScriptEvaluator Interface > INetworkScriptEvaluator.GetExpression Method (ArcObjects .NET 10.5 SDK) |
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
When examining the preLogic parameter for code with multiple lines, the CarriageReturn-LineFeed character is at the line breaks.