共用方式為


IVsIntellisenseCompletor.Exec Method (Guid%, UInt32, UInt32, Object%, Object%)

Executes the completion.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'宣告
Function Exec ( _
    ByRef pguidCmdGroup As Guid, _
    nCmdID As UInteger, _
    nCmdexecopt As UInteger, _
    ByRef pvaIn As Object, _
    <OutAttribute> ByRef pvaOut As Object _
) As Integer
int Exec(
    ref Guid pguidCmdGroup,
    uint nCmdID,
    uint nCmdexecopt,
    ref Object pvaIn,
    out Object pvaOut
)
int Exec(
    [InAttribute] Guid% pguidCmdGroup, 
    [InAttribute] unsigned int nCmdID, 
    [InAttribute] unsigned int nCmdexecopt, 
    [InAttribute] Object^% pvaIn, 
    [InAttribute] [OutAttribute] Object^% pvaOut
)
abstract Exec : 
        pguidCmdGroup:Guid byref * 
        nCmdID:uint32 * 
        nCmdexecopt:uint32 * 
        pvaIn:Object byref * 
        pvaOut:Object byref -> int 
function Exec(
    pguidCmdGroup : Guid, 
    nCmdID : uint, 
    nCmdexecopt : uint, 
    pvaIn : Object, 
    pvaOut : Object
) : int

Parameters

  • pguidCmdGroup
    Type: System.Guid%
    [in] GUID of the command group.
  • nCmdexecopt
    Type: System.UInt32
    [in] Flag indicating execution options.
  • pvaOut
    Type: System.Object%
    [out] The command after completion.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsIntellisenseCompletor Interface

Exec Overload

Microsoft.VisualStudio.TextManager.Interop Namespace