[This is preliminary documentation and is subject to change.]
When overriden in derived class inserts an item to the IList at the specified index.
Namespace: Tools.CollectionsT.GenericTAssembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
[EditorBrowsableAttribute(EditorBrowsableState.Never)] public abstract void Insert( int index, Object value ) |
| Visual Basic |
|---|
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _ Public MustOverride Sub Insert ( _ index As Integer, _ value As Object _ ) |
| Visual C++ |
|---|
[EditorBrowsableAttribute(EditorBrowsableState::Never)] public: virtual void Insert( int index, Object^ value ) abstract |
| F# |
|---|
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>] abstract Insert : index:int * value:Object -> unit |
| JScript |
|---|
public abstract function Insert( index : int, value : Object ) |
Parameters
- index
- Type: System..::..Int32
The zero-based index at which value should be inserted.
- value
- Type: System..::..Object
The Object to insert into the IList.
Implements
IList..::..Insert(Int32, Object)
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentOutOfRangeException | index is not a valid index in the IList. |
| System..::..NotSupportedException | The IList is read-only.-or- The IList has a fixed size. |
| System..::..NullReferenceException | value is null reference in the IList. |