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
'Declaration
Public Overridable Sub accDoDefaultAction ( _
varChild As Object _
)
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
varChild
Type: ObjectThe child.
Implements
_CommandBarButton.accDoDefaultAction(Object)
Remarks
This method throws a DeprecatedException when called.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.