Removes from the collection by the specified entity object.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
| C# |
|---|
public void Remove( ProfileEntity entity ) |
| Visual Basic |
|---|
Public Sub Remove ( _ entity As ProfileEntity _ ) |
| Visual C++ |
|---|
public: void Remove( ProfileEntity^ entity ) |
Parameters
- entity
- Type: Autodesk.Civil.DatabaseServices..::..ProfileEntity
Specifies the entity of the ProfileEntity 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). |