|
|
Inserts item into the collection at the specified index
Namespace: Autodesk.Navisworks.Api
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
| Visual Basic |
|---|
Public Overridable Sub Insert ( _ index As Integer, _ item As SavedItem _ ) |
| C# |
|---|
public virtual void Insert( int index, SavedItem item ) |
| Visual C++ |
|---|
public: virtual void Insert( int index, SavedItem^ item ) |
Implements
IList<(Of <(<'T>)>)>..::..Insert(Int32, 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 |
| System..::..ArgumentOutOfRangeException | Argument 'index' out of range |