Creates a new catchment group and adds it to the database.

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

Syntax

C#
public override sealed ObjectId Add(
	string name
)
Visual Basic
Public Overrides NotOverridable Function Add ( _
	name As String _
) As ObjectId
Visual C++
public:
virtual ObjectId Add(
	String^ name
) override sealed

Parameters

name
Type: System..::..String
The name of the new catchment group.

Remarks

It's an equivalent method to CatchmentGroup.Create()

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when the name is invalid or already exists.

See Also