Invokes the menu command with the given parameter.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'宣言
Public Overrides Sub Invoke ( _
arg As Object _
)
'使用
Dim instance As DataMenuCommand
Dim arg As Object
instance.Invoke(arg)
public override void Invoke(
Object arg
)
public:
virtual void Invoke(
Object^ arg
) override
public override function Invoke(
arg : Object
)
Parameters
arg
Type: System.ObjectAn optional argument for use by the command.
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.