CommonDialog.Tag 属性

定义

获取或设置一个对象,该对象包含控件的数据。Gets or sets an object that contains data about 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

属性值

包含有关 CommonDialog 的数据的对象。The object that contains data about the CommonDialog.

属性

注解

使用此属性可存储有关控件的任意信息。Use this property to store arbitrary information about the control.

适用于