ListView::ListViewItemCollection::Item Property (String^)

 

Retrieves the item with the specified key.

Namespace:   System.Windows.Forms
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
Return to top
Show: