Freigeben über


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

'Declaration
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

See Also

Reference

DataMenuCommand Class

Invoke Overload

Microsoft.VisualStudio.Data.Framework Namespace