_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))".

適用於