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


INASolver.UpdateLayer Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INASolver.UpdateLayer Method

Updates the layer and indicates if the layer was updated.

[Visual Basic .NET]
Public Function UpdateLayer ( _
    ByVal layer As INALayer _
) As Boolean
[C#]
public bool UpdateLayer (
    INALayer layer
);
[C++]
HRESULT UpdateLayer(
  INALayer* layer
);
[C++]

Parameters layer [in]
layer is a parameter of type INALayer*

Product Availability

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

Remarks

UpdateLayer modifies an NALayer based on the current NAContext and solver properties. This allows the NASymbolizer to update the symbology of the sublayers. For example, the service area polygons change their renderer based on the number of breaks that are specified for the service area solver.

See Also

INASolver Interface