_CommandBarComboBox.OnAction 属性

定义

获取或设置 OnAction 字符串。Gets or sets the OnAction string.

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)]
[get: System.Runtime.InteropServices.DispId(1610874906)]
[set: System.Runtime.InteropServices.DispId(1610874906)]
public string OnAction { get; 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

字符串。The string.

实现

属性

注解

此控件不是 CommandBarButton ,引发了 COMException "找不到成员"。This control is not a CommandBarButton, and throws a COMException:"Member not found. (异常来自 HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND) ) "。(Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))".

适用于