Remove Method

Removes alignment entity from the collection by the specified entity object.

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

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