Show / Hide Table of Contents

Method ResetSublayers

ResetSublayers()

Resets the sub-layers of this ArcGISMapImageLayer to the default values defined by the ArcGIS Server service.

Declaration
public void ResetSublayers()
Remarks

After this call, any changes to the sub-layers (either by using an ArcGISMapImageSublayer or by changing the sub-layer collections) are lost. The sub-layer hierarchy returns to its initial state (defined by the service) and image requests to display the layer will no longer use the dynamic layer capabilities of the service. All ArcGISSublayer objects within Sublayers will be recreated.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.14
.NET 6.0100.13 - 100.14
.NET 6.0 Windows100.13 - 100.14
.NET Framework100.1 - 100.14
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.1 - 100.14
Xamarin.iOS100.1 - 100.14
UWP100.1 - 100.14
In This Article
Back to top Copyright © 2021 Esri.