CommandBarComboBoxClass.OnAction 属性

获取或设置 OnAction 字符串。

命名空间:  Microsoft.VisualStudio.CommandBars
程序集:  Microsoft.VisualStudio.CommandBars(在 Microsoft.VisualStudio.CommandBars.dll 中)

语法

声明
Public Overridable Property OnAction As String
public virtual string OnAction { get; set; }

属性值

类型:System.String
字符串。

实现

_CommandBarComboBox.OnAction

备注

此控件不是 CommandBarButton,并引发 COMException: “成员未找到。(HRESULT 中的异常:0x80020003 (DISP_E_MEMBERNOTFOUND)”。

.NET Framework 安全性

请参见

参考

CommandBarComboBoxClass 类

Microsoft.VisualStudio.CommandBars 命名空间