Parameters
- layer
- A layer.
- position
- The position specified by the 0-based index. -1 will move the layer the bottom of the map. If the index is invalid, the layer is moved to the bottom.
| Exception | Description |
|---|---|
| System.ArgumentNullException | The layer is null. |
| ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
Target Platforms: Windows 11, Windows 10