|
|
Adds item to the end of the collection.
Namespace: Autodesk.Navisworks.Api
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
| Visual Basic |
|---|
Public Overridable Sub Add ( _ item As SavedItem _ ) |
| C# |
|---|
public virtual void Add( SavedItem item ) |
| Visual C++ |
|---|
public: virtual void Add( SavedItem^ item ) |
Parameters
- item
- Type: Autodesk.Navisworks.Api..::..SavedItem
Implements
ICollection<(Of <(<'T>)>)>..::..Add(T)
Exceptions
| Exception | Condition |
|---|---|
| System..::..ObjectDisposedException | Object has been Disposed |
| System..::..NotSupportedException | Object is Read-Only |
| System..::..ArgumentException | Argument 'item' has been Disposed |
| System..::..ArgumentNullException | Argument 'item' is null |
| System..::..ArgumentException | Argument 'item' is ReadOnly |
| System..::..ArgumentException | Argument 'item' contains an unsupported type of SavedItem |