DevListViewItemCollectionInsert(Int32, String, String, String) Method
Creates a new item with the specified key, text, and image,
and adds it to 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,
string imageKey
)
Public Overridable Function Insert (
index As Integer,
key As String,
text As String,
imageKey As String
) As ListViewItem
Dim instance As DevListViewItemCollection
Dim index As Integer
Dim key As String
Dim text As String
Dim imageKey As String
Dim returnValue As ListViewItem
returnValue = instance.Insert(index, key,
text, imageKey)
public:
virtual ListViewItem^ Insert(
int index,
String^ key,
String^ text,
String^ imageKey
)
abstract Insert :
index : int *
key : string *
text : string *
imageKey : string -> ListViewItem
override Insert :
index : int *
key : string *
text : string *
imageKey : string -> 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.
- imageKey String
-
The key of the image to display for the item.
ListViewItem
The
ListViewItem added to the collection.