ArcObjects Library Reference (NetworkAnalyst)  

INASolver.UpdateContext Method

Update the analysis context for the solver.

[Visual Basic .NET]
Public Sub UpdateContext ( _
    ByVal NAContext As INAContext, _
    ByVal network As IDENetworkDataset, _
    ByVal messages As IGPMessages _
)
[C#]
public void UpdateContext (
    INAContext NAContext,
    IDENetworkDataset network,
    IGPMessages messages
);
[C++]
HRESULT UpdateContext(
  INAContext* NAContext,
  IDENetworkDataset* network,
  IGPMessages* messages
);
[C++]

Parameters

NAContext [in]

  NAContext is a parameter of type INAContext

network [in]

  network is a parameter of type IDENetworkDataset

messages [in]

  messages is a parameter of type IGPMessages

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

UpdateContext updates the NAContext based on the current solver settings.

See Also

INASolver Interface

.NET Samples

Location-allocation solver (Code Files: frmLocationAllocationSolver)