KeyedByTypeCollection<TItem>.InsertItem Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Inserts an element into the collection at a specific location.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- index
- Type: System.Int32
The zero-based index at which item should be inserted.
- item
- Type: TItem
The object to insert into the collection.
| Exception | Condition |
|---|---|
| ArgumentNullException | item is null. |
Show: