ListCollectionTInsertItem Method
Inserts an element into the CollectionT at the specified index.
Namespace: Gemstone.CollectionsAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.165 -- Release Build+e14d337b173ad33e50be6747ce5b02f477f99484
protected override void InsertItem(
int index,
T item
)
Protected Overrides Sub InsertItem (
index As Integer,
item As T
)
protected:
virtual void InsertItem(
int index,
T item
) override
function InsertItem(index, item);
Parameters
- index Int32
- The zero-based index at which item should be inserted.
- item T
- The object to insert. The value can be null for reference types.
| ArgumentOutOfRangeException | index is less than zero.-or-index is greater than Count. |