Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Overridable Function ExecCommand ( _
    itemId As UInteger, _
    ByRef guidCmdGroup As Guid, _
    nCmdId As UInteger, _
    nCmdExecOpt As UInteger, _
    pvain As IntPtr, _
    p As IntPtr _
) As Integer
public virtual int ExecCommand(
    uint itemId,
    ref Guid guidCmdGroup,
    uint nCmdId,
    uint nCmdExecOpt,
    IntPtr pvain,
    IntPtr p
)
public:
virtual int ExecCommand(
    unsigned int itemId, 
    Guid% guidCmdGroup, 
    unsigned int nCmdId, 
    unsigned int nCmdExecOpt, 
    IntPtr pvain, 
    IntPtr p
)
abstract ExecCommand : 
        itemId:uint32 * 
        guidCmdGroup:Guid byref * 
        nCmdId:uint32 * 
        nCmdExecOpt:uint32 * 
        pvain:IntPtr * 
        p:IntPtr -> int 
override ExecCommand : 
        itemId:uint32 * 
        guidCmdGroup:Guid byref * 
        nCmdId:uint32 * 
        nCmdExecOpt:uint32 * 
        pvain:IntPtr * 
        p:IntPtr -> int 
public function ExecCommand(
    itemId : uint, 
    guidCmdGroup : Guid, 
    nCmdId : uint, 
    nCmdExecOpt : uint, 
    pvain : IntPtr, 
    p : IntPtr
) : int
Parameters
- itemId
 Type: System.UInt32
- guidCmdGroup
 Type: System.Guid%
- nCmdId
 Type: System.UInt32
- nCmdExecOpt
 Type: System.UInt32
- pvain
 Type: System.IntPtr
- p
 Type: System.IntPtr
Return Value
Type: System.Int32
Implements
IVsUIHierarchy.ExecCommand(UInt32, Guid%, UInt32, UInt32, IntPtr, IntPtr)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.