ListView::ListViewItemCollection::Item Property (String^)
.NET Framework (current version)
Retrieves the item with the specified key.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: property ListViewItem^ default[ String^ key ] { virtual ListViewItem^ get(String^ key); }
Parameters
- key
-
Type:
System::String^
The name of the item to retrieve.
Property Value
Type: System.Windows.Forms::ListViewItem^The ListViewItem whose Name property matches the specified key.
The key comparison is not case-sensitive. The Name property corresponds to the key for a ListViewItem in the ListView::ListViewItemCollection.
.NET Framework
Available since 2.0
Available since 2.0
Show: