ListView.InsertItem Method (Typed) | |
Insert a new ListViewItem object after a particular item index in the list view.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD InsertItem(
oListViewItem AS ListViewItem,
nInsertAfter AS LONG
) AS LOGIC
public virtual bool InsertItem(
ListViewItem oListViewItem,
[DefaultParameterValueAttribute(-1, 0)] int nInsertAfter
)
Request Example
View SourceParameters
- oListViewItem
- Type: ListViewItem
The ListViewItem object to insert in the list view. - nInsertAfter
- Type: Long
The position after which to insert the new item. If omitted, the new item is added as the last item.
Return Value
Type:
Logic
TRUE if the item was inserted successfully; otherwise, FALSE.
See Also