DataMenuCommand.Invoke Method (Object)
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
'Declaración
Public Overrides Sub Invoke ( _
arg As Object _
)
public override void Invoke(
Object arg
)
public:
virtual void Invoke(
Object^ arg
) override
abstract Invoke :
arg:Object -> unit
override Invoke :
arg:Object -> unit
public override function Invoke(
arg : Object
)
Parameters
- arg
Type: System.Object
An optional argument for use by the command.
Remarks
Notes to Inheritors
The derived class should override this method to make use of the optional argument.
.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.