Removes an AlignmentRegion from the collection, which in turn removes the region from the Offset Alignment.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.1516
Syntax
C#
public void Remove(
int index
)
VB
Public Sub Remove (
index As Integer
)
C++
public:
void Remove(
int index
)
Parameters
- index Int32
- AlignmentRegion index.
Exceptions
| Exception | Condition |
|---|
| ArgumentOutOfRangeException |
Thrown when index is out of collection range.
|
| InvalidOperationException |
Thrown when there is only one region in the collection.
|
Remarks
- Removing an AlignmentRegion merges it with the previous region and eliminates any transition between them.
- Removing an AlignmentRegion may invalidate references to AlignmentTransition objects. Therefore, any references to an AlignmentTransition should not be used.
- 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
Reference