ArcObjects Library Reference (GeoDatabase)  

INetworkAttribute2.Refresh Method

Refresh the network evaluators assigned to this network attribute.

[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

Calling Refresh propogates the call to INetworkEvaluator2::Refresh on the attribute's underlying network evaluators that implement INetworkEvaluator2.  This gives the evaluator an opportunity to update its state based on current data or parameter values.  This method is called by the network analyst solvers after setting INetworkAttribute2::Parameters prior to performing the solve operation.

See Also

INetworkAttribute2 Interface

.NET Samples

Subset network evaluators (Code Files: SubsetHelperUI) |