AlignmentRegionCollectionRemove Method

Removes an AlignmentRegion from the collection, which in turn removes the region from the Offset Alignment.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public void Remove(
	int index
)

Parameters

index  Int32
AlignmentRegion index.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Thrown when index is out of collection range.
InvalidOperationException Thrown when there is only one region in the collection.
Remarks
  1. Removing an AlignmentRegion merges it with the previous region and eliminates any transition between them.
  2. Removing an AlignmentRegion may invalidate references to AlignmentTransition objects. Therefore, any references to an AlignmentTransition should not be used.
  3. Removing an AlignmentRegion may invalidate references to other AlignmentRegion objects in the same collection; therefore, any references held to an AlignmentRegion should not be used.
See Also