ProfilePVICollection.RemoveAt(Double, Double) Method

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



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

Syntax

C#

public void RemoveAt(
	double station,
	double elevation
)

VB

Public Sub RemoveAt ( 
	station As Double,
	elevation As Double
)

C++

public:
void RemoveAt(
	double station, 
	double elevation
)

Parameters

station  Double
Station value.
elevation  Double
Elevation value.

Exceptions

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

Remarks

The first and the last PVI cannot be removed.

See Also

Reference

ProfilePVICollection Class
RemoveAt Overload
Autodesk.Civil.DatabaseServices Namespace