ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / GroupLayer Class / MoveLayer Method

MoveLayer Method (GroupLayer)
Overload List
OverloadDescription
Moves a layer to another position within the container. This method must be called on the MCT. Use QueuedTask.Run.  
Move a layer to another position within the specified container. This method must be called on the MCT. Use QueuedTask.Run.  
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also