CommandBarButtonClass.accDoDefaultAction 方法

执行默认事件。此方法已被否决。

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

语法

声明
Public Overridable Sub accDoDefaultAction ( _
    varChild As Object _
)
public virtual void accDoDefaultAction(
    Object varChild
)

参数

实现

_CommandBarButton.accDoDefaultAction(Object)

备注

此方法将引发 DeprecatedException,当调用。

.NET Framework 安全性

请参见

参考

CommandBarButtonClass 类

Microsoft.VisualStudio.CommandBars 命名空间