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


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

INetworkEvaluator2.Refresh Method

Refresh custom data for this network evaluator to synchronize with updated attribute parameter values or other external data.

[Visual Basic .NET]
Public Sub Refresh ( _
)
[C#]
public void Refresh (
);
[C++]
HRESULT Refresh(
void
);

Product Availability

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

Remarks

The Refresh method is an opportunity to update any internal state within the evaluator based on changes to parameters, dynamic data feeds, etc.  The Refresh method is called on every evaluator assigned to a network attribute when INetworkAttribute2::Refresh() is called.  For example, this is called internally during a solve operation after setting the network attribute parameters and prior to performing the actual solve.

See Also

INetworkEvaluator2 Interface