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,
  VARIANT_BOOL* layerUpdated
);
[C++]

Parameters

layer [in]

  layer is a parameter of type INALayer

layerUpdated [out, retval]   layerUpdated is a parameter of type VARIANT_BOOL

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