LEADTOOLS Medical (Leadtools.Medical.Workstation assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
InsertItem Method
See Also 
Leadtools.Medical.Workstation.UI Namespace > ImageListView Class : InsertItem Method




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.
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.
Inserts a IImageListViewItem at the specified index.

Syntax

Visual Basic (Declaration) 
Public Function InsertItem( _
   ByVal item As IImageListViewItem, _
   ByVal itemIndex As Integer _
) As ImageListBox
Visual Basic (Usage)Copy Code
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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also