Removes from the collection by the specified entity object.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 10.3.488.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

ExceptionCondition
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).

See Also