Windows.Forms.ListView.ListVewItemCollection.IndexOfKey function

I

invegat

Hi,

How can I set the string "key" value that is the argument for the
function
Windows.Forms.ListView.ListVewItemCollection.IndexOfKey(string key) ?
Niether the string value for public string ListViewItem.ImageKey {
get; set; } or the string "text" argument for the constructor
ListViewItem::ListViewIem(stirng text) work.

Thanks,
invegat
 
F

Family Tree Mike

Hi,

How can I set the string "key" value that is the argument for the
function
Windows.Forms.ListView.ListVewItemCollection.IndexOfKey(string key) ?
Niether the string value for public string ListViewItem.ImageKey {
get; set; } or the string "text" argument for the constructor
ListViewItem::ListViewIem(stirng text) work.

Thanks,
invegat

Always check MSDN. It is searching the Name property of the ListViewItem.

http://msdn.microsoft.com/en-us/lib...stview.listviewitemcollection.indexofkey.aspx
 
I

invegat

thanks, sorry, I didn't know about the Name property and didn't
realize thats what 'name' was referring to.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top