Compartir a través de


FlavoredProjectBase.ExecCommand Method

Executes the specified command.

Namespace:  Microsoft.VisualStudio.Shell.Flavor
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Protected Overridable Function ExecCommand ( _
    itemid As UInteger, _
    ByRef pguidCmdGroup As Guid, _
    nCmdID As UInteger, _
    nCmdexecopt As UInteger, _
    pvaIn As IntPtr, _
    pvaOut As IntPtr _
) As Integer
protected virtual int ExecCommand(
    uint itemid,
    ref Guid pguidCmdGroup,
    uint nCmdID,
    uint nCmdexecopt,
    IntPtr pvaIn,
    IntPtr pvaOut
)
protected:
virtual int ExecCommand(
    unsigned int itemid, 
    Guid% pguidCmdGroup, 
    unsigned int nCmdID, 
    unsigned int nCmdexecopt, 
    IntPtr pvaIn, 
    IntPtr pvaOut
)
abstract ExecCommand : 
        itemid:uint32 * 
        pguidCmdGroup:Guid byref * 
        nCmdID:uint32 * 
        nCmdexecopt:uint32 * 
        pvaIn:IntPtr * 
        pvaOut:IntPtr -> int  
override ExecCommand : 
        itemid:uint32 * 
        pguidCmdGroup:Guid byref * 
        nCmdID:uint32 * 
        nCmdexecopt:uint32 * 
        pvaIn:IntPtr * 
        pvaOut:IntPtr -> int
protected function ExecCommand(
    itemid : uint, 
    pguidCmdGroup : Guid, 
    nCmdID : uint, 
    nCmdexecopt : uint, 
    pvaIn : IntPtr, 
    pvaOut : IntPtr
) : int

Parameters

  • itemid
    Type: UInt32

    The item ID of the element.

  • pguidCmdGroup
    Type: Guid%

    The command group.

  • nCmdID
    Type: UInt32

    The command ID.

  • nCmdexecopt
    Type: UInt32

    The execution options.

  • pvaIn
    Type: IntPtr

    The in parameters

  • pvaOut
    Type: IntPtr

    The out parameters.

Return Value

Type: Int32

.NET Framework Security

See Also

Reference

FlavoredProjectBase Class

Microsoft.VisualStudio.Shell.Flavor Namespace