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 > INetworkEvaluator2 Interface > INetworkEvaluator2.Refresh Method (ArcObjects .NET 10.5 SDK) |
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
);
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.