ListViewItem.ListViewSubItem.Tag ListViewItem.ListViewSubItem.Tag ListViewItem.ListViewSubItem.Tag ListViewItem.ListViewSubItem.Tag Property

定义

获取或设置包含有关 ListViewItem.ListViewSubItem 的数据的对象。Gets or sets an object that contains data about the ListViewItem.ListViewSubItem.

public:
 property System::Object ^ Tag { System::Object ^ get(); void set(System::Object ^ value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.StringConverter))]
public object Tag { get; set; }
member this.Tag : obj with get, set
Public Property Tag As Object

属性值

一个 Object,包含有关 ListViewItem.ListViewSubItem 的数据。An Object that contains data about the ListViewItem.ListViewSubItem. 默认值为 nullThe default is null.

注解

属性允许存储的ListViewItem.ListViewSubItem其他信息。 TagThe Tag property allows you to store additional information for a ListViewItem.ListViewSubItem.

适用于