次の方法で共有


CommandBarPopup.OnAction Property

Gets or sets the OnAction string.

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

Syntax

'宣言
Property OnAction As String
string OnAction { get; set; }

Property Value

Type: System.String
The string.

Remarks

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

.NET Framework Security

See Also

Reference

CommandBarPopup Interface

OnAction Overload

Microsoft.VisualStudio.CommandBars Namespace