KeyedCollection<TKey, TItem>.InsertItem Method
Inserts an element into the KeyedCollection<TKey, TItem> at the specified index.
Assembly: mscorlib (in mscorlib.dll)
This method overrides the protected Collection<T>.InsertItem(Int32, T) method. The two methods are not overloads, as the overload list page states. In fact, they have exactly the same signature, because the base class of KeyedCollection<TKey, TItem> (KeyedCollection(Of TKey, TItem) in Visual Basic, generic<TKey, TItem> ref class KeyedCollection in C++) is Collection<TItem>, where the generic type parameter TItem of KeyedCollection<TKey, TItem> is substituted for the generic type parameter T of the Collection<T> generic class. The documentation build tools do not resolve these signatures correctly.
This method is an O(n) operation, where n is Count.
Notes for Implementers
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.