Swaps volume table positions in the group by index.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.0
Syntax
C#
public void SwapAt( int index1, int index2 )
Visual Basic
Public Sub SwapAt ( _ index1 As Integer, _ index2 As Integer _ )
Visual C++
public: void SwapAt( int index1, int index2 )
Parameters
- index1
- Type: System.Int32
Index (in volume table id collection) of the first volume table to be swapped.
- index2
- Type: System.Int32
Index (in volume table id collection) of the second volume table to be swapped.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException | Throw when index1 and index2 are same. |
System.ArgumentOutOfRangeException | Throw when index1 or index2 is out of the range of volume table id collection. |