ListViewItem.Name Property

 

Gets or sets the name associated with this ListViewItem.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

[BrowsableAttribute(false)]
public string Name { get; set; }

Property Value

Type: System.String

The name of the ListViewItem. The default is an empty string ("").

The value of the Name property is also the key for the ListViewItem when the item is accessed in a collection.

.NET Framework
Available since 2.0
Return to top
Show: