ListViewItem.Name 属性

定义

获取或设置与此 ListViewItem 关联的名称。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; }
[<System.ComponentModel.Browsable(false)>]
member this.Name : string with get, set
Public Property Name As String

属性值

String

ListViewItem 的名称。The name of the ListViewItem. 默认值为空字符串("")。The default is an empty string ("").

属性

注解

Name ListViewItem 当在集合中访问项时,属性的值也是的键。The value of the Name property is also the key for the ListViewItem when the item is accessed in a collection.

适用于