SwapAt Method

Swaps volume table positions in the group by index.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.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

ExceptionCondition
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.

See Also