Removes alignment entity from the collection by the specified entity object.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.3.1717.0
Syntax
C#
public void Remove( AlignmentEntity entity )
Visual Basic
Public Sub Remove ( _ entity As AlignmentEntity _ )
Visual C++
public: void Remove( AlignmentEntity^ entity )
Parameters
- entity
- Type: Autodesk.Civil.DatabaseServices.AlignmentEntity
Specifies the entity of the AlignmentEntity to remove.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException | Throw when the specified entity cannot be found in the collection. |
System.InvalidOperationException | Throw when there are other entities depending on it.( floating, free constraints). |