Creates a new AeccDbTreeNode object, adds it to the collection, and returns an ObjectId for the object.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public abstract ObjectId Add( string name )
VB
Public MustOverride Function Add ( name As String ) As ObjectId
C++
public: virtual ObjectId Add( String^ name ) abstract
Parameters
- name String
- The name of the new object. If this string is empty or null, a dynamically generated name is created.
Return Value
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the name already exists. |