CommandBarPopup.OnAction Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)]
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
Property Value
The string.
Implements
- Attributes
Remarks
Since a popup is not a CommandBarButton, this method throws a COMException:"Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))".