Creates a new catchment group and adds it to the database.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public override sealed ObjectId Add( string name )
VB
Public Overrides NotOverridable Function Add ( name As String ) As ObjectId
C++
public: virtual ObjectId Add( String^ name ) override sealed
Parameters
- name String
- The name of the new catchment group.
Return Value
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the name is invalid or already exists. |