DevListViewItemCollectionInsert(Int32, String, String, Int32) Method
Creates a new item with the specified key, text, and image,
and inserts it in the collection at the specified index.
Namespace: DevCase.UI.Layout.DevListViewDataAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public virtual ListViewItem Insert(
int index,
string key,
string text,
int imageIndex
)
Public Overridable Function Insert (
index As Integer,
key As String,
text As String,
imageIndex As Integer
) As ListViewItem
Dim instance As DevListViewItemCollection
Dim index As Integer
Dim key As String
Dim text As String
Dim imageIndex As Integer
Dim returnValue As ListViewItem
returnValue = instance.Insert(index, key,
text, imageIndex)
public:
virtual ListViewItem^ Insert(
int index,
String^ key,
String^ text,
int imageIndex
)
abstract Insert :
index : int *
key : string *
text : string *
imageIndex : int -> ListViewItem
override Insert :
index : int *
key : string *
text : string *
imageIndex : int -> ListViewItem
No code example is currently available or this language may not be supported.
- index Int32
-
The zero-based index location where the item is inserted
- key String
-
The Name of the item.
- text String
-
The text of the item.
- imageIndex Int32
-
The index of the image to display for the item.
ListViewItem
The
ListViewItem added to the collection.