共用方式為


IVsIntellisenseHost.Exec(Guid, UInt32, UInt32, Object, Object) Method

Definition

Executes the specified command.

public:
 int Exec(Guid % pguidCmdGroup, System::UInt32 nCmdID, System::UInt32 nCmdexecopt, System::Object ^ % pvaIn, [Runtime::InteropServices::Out] System::Object ^ % pvaOut);
public int Exec (ref Guid pguidCmdGroup, uint nCmdID, uint nCmdexecopt, ref object pvaIn, out object pvaOut);
abstract member Exec : Guid * uint32 * uint32 * obj * obj -> int
Public Function Exec (ByRef pguidCmdGroup As Guid, nCmdID As UInteger, nCmdexecopt As UInteger, ByRef pvaIn As Object, ByRef pvaOut As Object) As Integer

Parameters

pguidCmdGroup
Guid

[in] The GUID of the command group.

nCmdID
UInt32

[in] The command ID.

nCmdexecopt
UInt32

[in] Specifies how the object should execute the command.

pvaIn
Object

[in] The input arguments of the command.

pvaOut
Object

[out] The output arguments of the command.

Returns

Applies to