Removes the profile PVI from the collection closest to the given station and elevation.

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

Syntax

C#
public void RemoveAt(
	double station,
	double elevation
)
Visual Basic
Public Sub RemoveAt ( _
	station As Double, _
	elevation As Double _
)
Visual C++
public:
void RemoveAt(
	double station, 
	double elevation
)

Parameters

station
Type: System..::..Double
Station value.
elevation
Type: System..::..Double
Elevation value.

Remarks

The first and the last PVI cannot be removed.

Exceptions

ExceptionCondition
System..::..InvalidOperationException Thrown when:
  1. Removing the first or the last PVI.
  2. ProfilePVICollection is an empty collection.

See Also