Show / Hide Table of Contents

Method ResetSublayers

ResetSublayers()

Resets the sublayers 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 sublayers (either by using an ArcGISMapImageSublayer or by changing the sublayer collections) are lost. The sublayer 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 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.1 - 200.7
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 200.7
In This Article
Back to top Copyright © 2022 Esri.