ArcGIS Pro 2.9 API Reference Guide
MoveStandaloneTable(StandaloneTable,CompositeLayerWithTables,Int32) Method

ArcGIS.Desktop.Mapping Namespace > GroupLayer Class > MoveStandaloneTable Method : MoveStandaloneTable(StandaloneTable,CompositeLayerWithTables,Int32) Method
A table to be moved.
The layer container to move the StandaloneTable to
The position specified by the 0-based index. If the index is invalid, the StandaloneTable is moved to the bottom.
Move a StandaloneTable to another position within the specified targetLayer container. This method must be called on the MCT. Use QueuedTask.Run
Syntax
public void MoveStandaloneTable( 
   StandaloneTable table,
   CompositeLayerWithTables targetLayer,
   int position
)
Public Overloads Sub MoveStandaloneTable( _
   ByVal table As StandaloneTable, _
   ByVal targetLayer As CompositeLayerWithTables, _
   ByVal position As Integer _
) 

Parameters

table
A table to be moved.
targetLayer
The layer container to move the StandaloneTable to
position
The position specified by the 0-based index. If the index is invalid, the StandaloneTable is moved to the bottom.
Exceptions
ExceptionDescription
Invalid container
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
If targetLayer is null, the StandaloneTable is moved to 'position' within its current container
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

GroupLayer Class
GroupLayer Members
Overload List