LanguageService::DispatchCommand Method (Guid, UInt32, UInt32, IntPtr, IntPtr)

 

Called to execute the specified command.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
int DispatchCommand(
	Guid cmdGuid,
	unsigned int cmdId,
	unsigned int cmdExecOpt,
	IntPtr pvaIn,
	IntPtr pvaOut
)

Parameters

cmdGuid
Type: System::Guid

The GUID of the command.

cmdId
Type: System::UInt32

The command ID.

cmdExecOpt
Type: System::UInt32

The command options.

pvaIn
Type: System::IntPtr

The in parameters.

pvaOut
Type: System::IntPtr

The out parameters

Return Value

Type: System::Int32

The HRESULT.

Return to top
Show: