Partilhar via


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

Executes the specified command.

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

Syntax

'Declaração
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] The GUID of the command group.
  • nCmdexecopt
    Type: System.UInt32
    [in] Specifies how the object should execute the command.
  • pvaIn
    Type: System.Object%
    [in] The input arguments of the command.
  • pvaOut
    Type: System.Object%
    [out] The output arguments of the command.

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsIntellisenseHost Interface

Exec Overload

Microsoft.VisualStudio.TextManager.Interop Namespace