共用方式為


CommandBarButtonClass.accDoDefaultAction Method

Performs the default action. This method is deprecated.

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

Syntax

'宣告
Public Overridable Sub accDoDefaultAction ( _
    varChild As Object _
)
'用途
Dim instance As CommandBarButtonClass
Dim varChild As Object

instance.accDoDefaultAction(varChild)
public virtual void accDoDefaultAction(
    Object varChild
)
public:
virtual void accDoDefaultAction(
    [InAttribute] Object^ varChild
)
abstract accDoDefaultAction : 
        varChild:Object -> unit 
override accDoDefaultAction : 
        varChild:Object -> unit 
public function accDoDefaultAction(
    varChild : Object
)

Parameters

Implements

_CommandBarButton.accDoDefaultAction(Object)

Remarks

This method throws a DeprecatedException when called.

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

CommandBarButtonClass Members

Microsoft.VisualStudio.CommandBars Namespace