Parameters
- layer
- A Layer to be moved.
- position
- The position specified by the 0-based index. -1 will move the table to the bottom of the container. If the index is invalid, the layer is moved to the bottom.
Exception | Description |
---|---|
System.ArgumentNullException | The layer is null. |
System.ArgumentException | Invalid container. The layer is not part of this container or one of it's descendents. |
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
Target Platforms: Windows 11, Windows 10