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.5.1584.0

Syntax

C#
public abstract ObjectId Add(
	string name
)
Visual Basic
Public MustOverride Function Add ( _
	name As String _
) As ObjectId
Visual C++
public:
virtual ObjectId Add(
	String^ name
) abstract

Parameters

name
Type: System..::..String
The name of the new object. If this string is empty or null, a dynamically generated name is created.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when the name already exists.

See Also