Partager via


VsIntellisenseCompletorClass.Exec Method

Executes the completion.

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

Syntax

'Declaration
Public Overridable Function Exec ( _
    ByRef pguidCmdGroup As Guid, _
    nCmdID As UInteger, _
    nCmdexecopt As UInteger, _
    ByRef pvaIn As Object, _
    <OutAttribute> ByRef pvaOut As Object _
) As Integer
public virtual int Exec(
    ref Guid pguidCmdGroup,
    uint nCmdID,
    uint nCmdexecopt,
    ref Object pvaIn,
    out Object pvaOut
)
public:
virtual 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  
override Exec : 
        pguidCmdGroup:Guid byref * 
        nCmdID:uint32 * 
        nCmdexecopt:uint32 * 
        pvaIn:Object byref * 
        pvaOut:Object byref -> int
public 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.

Implements

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

.NET Framework Security

See Also

Reference

VsIntellisenseCompletorClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace