|
|
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 Sub Insert ( _ index As Integer, _ item As Rule _ ) |
| C# |
|---|
public void Insert( int index, Rule item ) |
| Visual C++ |
|---|
public: virtual void Insert( int index, Rule^ item ) sealed |
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..::..ArgumentOutOfRangeException | Argument 'index' out of range |