ListViewItem.Name Property

Definition

Gets or sets the name associated with this ListViewItem.

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Browsable(false)]
public string Name { get; set; }
member this.Name : string with get, set
Public Property Name As String

Property Value

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

Attributes

Remarks

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

Applies to