Invokes the menu command.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'宣言
Public Overrides NotOverridable Sub Invoke
'使用
Dim instance As DataMenuCommand
instance.Invoke()
public override sealed void Invoke()
public:
virtual void Invoke() override sealed
public override final function Invoke()
Remarks
The base implementation of this method delegates the call to Invoke and passes a null reference (Nothing in Visual Basic) for the argument.
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.