RemoveAt Method (Int32)

Removes the specified PVI from this profile.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.0

Syntax

C#

public void RemoveAt(
	int index
)

Visual Basic

Public Sub RemoveAt ( _
	index As Integer _
)

Visual C++

public:
void RemoveAt(
	int index
)

Parameters

index
Type: System.Int32
The index of the PVI in the ProfilePVICollection.

Remarks

The the first and the last PVI cannot be removed.

Exceptions

ExceptionCondition
System.InvalidOperationException Thrown when removing the first or the last PVI.
System.ArgumentOutOfRangeException Thrown when the index is out of the collecton range.

See Also