StageDesignCollectionRemoveAt Method

Removes the item at the specified index from the collection.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDrainageDesignMgd (in AeccDrainageDesignMgd.dll) Version: 13.9.960.0
Syntax
public void RemoveAt(
	int index
)

Parameters

index  Int32
The zero-based index of the item to remove.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Thrown when the index is less than 0 or greater than or equal to Count. Parameter name: index
InvalidOperationException Thrown when attempting to remove the first item (index 0) which represents the bottom of the facility.
Remarks
All volume calculations in the design table are automatically updated when an item is removed. This method follows .NET collection naming conventions.

Valid Range: 1 to Count-1 (cannot remove the first item at index 0)

See Also