Inserts an item into the LeadCollection at the specified index.
index
The 0-based index at which item should be inserted.
item
The object to insert. The value can be null.
InsertItem is meant to be overridden in a derived class. For a public method to insert an item in the LeadCollection, see Insert.
LeadCollection accepts null as a valid value and allows duplicate items.
If index is equal to Count, item is added to the end of LeadCollection.
This method raises the CollectionChanged event with Add action.
Notes to Inheritors
Derived classes can override this method to change the behavior of the Insert and Add methods.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document