CommandBarPopup::OnAction Property

 

Gets or sets the OnAction string.

Namespace:   Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

[DispIdAttribute(1610874906)]
property String^ OnAction {
	[DispIdAttribute(1610874906)]
	String^ get();
	[DispIdAttribute(1610874906)]
	void set(String^ value);
}

Property Value

Type: System::String^

The string.

Since a popup is not a CommandBarButton, this method throws a COMException:"Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))".

Return to top
Show: