This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INASolver Interface > INASolver.UpdateLayer Method (ArcObjects .NET 10.5 SDK) |
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
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.