DefinitionalObjectCollectionTInsertItem Method |
Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxprotected 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
abstract InsertItem :
index : int *
item : 'T -> unit
override InsertItem :
index : int *
item : 'T -> unit Parameters
- index
- Type: SystemInt32
The zero-based index at which item should be inserted. - item
- Type: T
The object to insert. The value can be null for reference types.
Exceptions| Exception | Condition |
|---|
| ArgumentOutOfRangeException | Thrown when index is less than
zero, or greater than Count. |
See Also