Menu.Tag 属性

定义

获取或设置与控件关联的用户定义的数据。Gets or sets user-defined data associated with the control.

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

属性值

表示数据的对象。An object representing the data.

属性

适用于