Share via


OleMenuCommand.Invoke Method (Object)

Executes the command.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Overrides Sub Invoke ( _
    inArg As Object _
)
public override void Invoke(
    Object inArg
)
public:
virtual void Invoke(
    Object^ inArg
) override
abstract Invoke : 
        inArg:Object -> unit  
override Invoke : 
        inArg:Object -> unit
public override function Invoke(
    inArg : Object
)

Parameters

  • inArg
    Type: Object

    The parameter passed to the command.

.NET Framework Security

See Also

Reference

OleMenuCommand Class

Invoke Overload

Microsoft.VisualStudio.Shell Namespace