CommandBarControl.Tag 属性

定义

返回或设置有关命令栏控件的信息,例如可用作过程中参数的数据,或标识控件的信息。

public:
 property System::String ^ Tag { System::String ^ get(); void set(System::String ^ value); };
public string Tag { get; set; }
member this.Tag : string with get, set
Public Property Tag As String

属性值

注解

若要避免在使用事件触发时重复调用同一类,请定义事件唯一的 Tag 属性。

适用于