Performs the default event in the hierarchy. This is typically called when a user either presses ENTER or double-clicks the item.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Protected Overridable Sub DoDefaultAction
'使用
Me.DoDefaultAction()
protected virtual void DoDefaultAction()
protected:
virtual void DoDefaultAction()
protected function DoDefaultAction()
Remarks
DoDefaultAction creates a method signature in the source code file for the default event on the component. This method is overwritten in subclasses.
Permissions
- 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.