_CommandBarComboBox.OnAction 属性

定义

获取或设置 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

属性值

String

字符串。

实现

属性

注解

此控件不是 CommandBarButton ,引发了 COMException "找不到成员"。 (异常来自 HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND) ) "。

适用于