_CommandBarComboBox.OnAction 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置 OnAction 字符串。
public:
property System::String ^ OnAction { System::String ^ get(); void set(System::String ^ value); };
public:
property Platform::String ^ OnAction { Platform::String ^ get(); void set(Platform::String ^ value); };
[System.Runtime.InteropServices.DispId(1610874906)]
public string OnAction { [System.Runtime.InteropServices.DispId(1610874906)] get; [System.Runtime.InteropServices.DispId(1610874906)] set; }
[<System.Runtime.InteropServices.DispId(1610874906)>]
[<get: System.Runtime.InteropServices.DispId(1610874906)>]
[<set: System.Runtime.InteropServices.DispId(1610874906)>]
member this.OnAction : string with get, set
Public Property OnAction As String
属性值
字符串。
实现
- 属性
注解
此控件不是 CommandBarButton ,引发了 COMException "找不到成员"。 (异常来自 HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND) ) "。