IVsProfferCommands.AddCommandBarControl Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Microsoft Internal Use Only.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
Sub AddCommandBarControl ( _
    pszCmdNameCanonical As String, _
    pCmdBarParent As Object, _
    dwIndex As UInteger, _
    dwCmdType As UInteger, _
    <OutAttribute> ByRef ppCmdBarCtrl As Object _
)
void AddCommandBarControl(
    string pszCmdNameCanonical,
    Object pCmdBarParent,
    uint dwIndex,
    uint dwCmdType,
    out Object ppCmdBarCtrl
)
void AddCommandBarControl(
    [InAttribute] String^ pszCmdNameCanonical, 
    [InAttribute] Object^ pCmdBarParent, 
    [InAttribute] unsigned int dwIndex, 
    [InAttribute] unsigned int dwCmdType, 
    [OutAttribute] Object^% ppCmdBarCtrl
)
abstract AddCommandBarControl : 
        pszCmdNameCanonical:string * 
        pCmdBarParent:Object * 
        dwIndex:uint32 * 
        dwCmdType:uint32 * 
        ppCmdBarCtrl:Object byref -> unit
function AddCommandBarControl(
    pszCmdNameCanonical : String, 
    pCmdBarParent : Object, 
    dwIndex : uint, 
    dwCmdType : uint, 
    ppCmdBarCtrl : Object
)

Parameters

  • pszCmdNameCanonical
    Type: System.String

    The name of the command.

  • pCmdBarParent
    Type: System.Object

    The parent of the command bar.

  • ppCmdBarCtrl
    Type: System.Object%

    [out] The command bar control.

.NET Framework Security

See Also

Reference

IVsProfferCommands Interface

EnvDTE Namespace