IDTCommandTarget::Exec Method (String^, vsCommandExecOption, Object^, Object^, Boolean)

 

Executes the specified named command.

Namespace:   EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

void Exec(
	String^ CmdName,
	vsCommandExecOption ExecuteOption,
	[InAttribute] Object^% VariantIn,
	Object^% VariantOut,
	bool% Handled
)

Parameters

CmdName
Type: System::String^

The name of the command to execute.

ExecuteOption
Type: EnvDTE::vsCommandExecOption

A vsCommandExecOption constant specifying the execution options.

VariantIn
Type: System::Object^

A value passed to the command.

VariantOut
Type: System::Object^

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

handled

true indicates that the command was implemented. false indicates that it was not.

Return to top
Show: