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


INetworkFieldEvaluator.GetExpression Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

INetworkFieldEvaluator.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

INetworkFieldEvaluator Interface