Share via


OleCommandTargetHelper.Exec Method

Calls the execution command handler.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Common.UI
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public Function Exec ( _
    ByRef pguidCmdGroup As Guid, _
    cmdId As UInteger, _
    nCmdexecopt As UInteger, _
    pvaIn As IntPtr, _
    pvaOut As IntPtr _
) As Integer
'Usage
Dim instance As OleCommandTargetHelper
Dim pguidCmdGroup As Guid
Dim cmdId As UInteger
Dim nCmdexecopt As UInteger
Dim pvaIn As IntPtr
Dim pvaOut As IntPtr
Dim returnValue As Integer

returnValue = instance.Exec(pguidCmdGroup, _
    cmdId, nCmdexecopt, pvaIn, pvaOut)
public int Exec(
    ref Guid pguidCmdGroup,
    uint cmdId,
    uint nCmdexecopt,
    IntPtr pvaIn,
    IntPtr pvaOut
)
public:
virtual int Exec(
    Guid% pguidCmdGroup, 
    unsigned int cmdId, 
    unsigned int nCmdexecopt, 
    IntPtr pvaIn, 
    IntPtr pvaOut
) sealed
public final function Exec(
    pguidCmdGroup : Guid, 
    cmdId : uint, 
    nCmdexecopt : uint, 
    pvaIn : IntPtr, 
    pvaOut : IntPtr
) : int
abstract Exec : 
        pguidCmdGroup:Guid * 
        cmdId:uint32 * 
        nCmdexecopt:uint32 * 
        pvaIn:IntPtr * 
        pvaOut:IntPtr -> int 
override Exec : 
        pguidCmdGroup:Guid * 
        cmdId:uint32 * 
        nCmdexecopt:uint32 * 
        pvaIn:IntPtr * 
        pvaOut:IntPtr -> int 

Parameters

  • pguidCmdGroup
    Type: System.Guid%
    The command group Guid

Return Value

Type: System.Int32

Implements

IOleCommandTarget.Exec(Guid%, UInt32, UInt32, IntPtr, IntPtr)

.NET Framework Security

See Also

Reference

OleCommandTargetHelper Class

OleCommandTargetHelper Members

Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace