PondContourCollection(PondContour) Constructor

Initializes a new instance of the PondContourCollection class from an array of PondContours.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDrainageDesignMgd (in AeccDrainageDesignMgd.dll) Version: 13.9.960.0
Syntax
public PondContourCollection(
	PondContour[] contours
)

Parameters

contours  PondContour
Array of PondContour objects to add to the collection.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when the contours array is null.
ArgumentException Thrown when:
  1. A contour in the array contains unsupported pond geometry.
  2. The contours array has less than two items, contains null entries, or has duplicate IDs.
Remarks
The contours will be automatically sorted by area in descending order (outermost to innermost).
See Also