IDTCommandTarget.Exec(String, vsCommandExecOption, Object, Object, Boolean) Method

Definition

Executes the specified named command.

[System.Runtime.InteropServices.DispId(2)]
public void Exec (string CmdName, EnvDTE.vsCommandExecOption ExecuteOption, ref object VariantIn, out object VariantOut, out bool Handled);
Parameters
CmdName
String

The name of the command to execute.

ExecuteOption
vsCommandExecOption

A vsCommandExecOption constant specifying the execution options.

VariantIn
Object

A value passed to the command.

VariantOut
Object

A value passed back to the invoker Exec method after the command executes.

Handled
Boolean

Applies to