- item
- The IImageListViewItem item that will be inserted.
- itemIndex
- An System.Int32 value that represents the index location where the item will be inserted at.
Visual Basic (Declaration) | |
---|---|
Public Function InsertItem( _ ByVal item As IImageListViewItem, _ ByVal itemIndex As Integer _ ) As ImageListBox |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ImageListView Dim item As IImageListViewItem Dim itemIndex As Integer Dim value As ImageListBox value = instance.InsertItem(item, itemIndex) |
C# | |
---|---|
public ImageListBox InsertItem( IImageListViewItem item, int itemIndex ) |
Managed Extensions for C++ | |
---|---|
public: ImageListBox* InsertItem( IImageListViewItem* item, int itemIndex ) |
C++/CLI | |
---|---|
public: ImageListBox^ InsertItem( IImageListViewItem^ item, int itemIndex ) |
Parameters
- item
- The IImageListViewItem item that will be inserted.
- itemIndex
- An System.Int32 value that represents the index location where the item will be inserted at.
Return Value
The ImageListBox that is used to display the new item.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7