Compartilhar via


IVsProfferCommands.AddCommandBar 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 AddCommandBar ( _
    pszCmdBarName As String, _
    dwType As vsCommandBarType, _
    pCmdBarParent As Object, _
    dwIndex As UInteger, _
    <OutAttribute> ByRef ppCmdBar As Object _
)
void AddCommandBar(
    string pszCmdBarName,
    vsCommandBarType dwType,
    Object pCmdBarParent,
    uint dwIndex,
    out Object ppCmdBar
)
void AddCommandBar(
    [InAttribute] String^ pszCmdBarName, 
    [InAttribute] vsCommandBarType dwType, 
    [InAttribute] Object^ pCmdBarParent, 
    [InAttribute] unsigned int dwIndex, 
    [OutAttribute] Object^% ppCmdBar
)
abstract AddCommandBar : 
        pszCmdBarName:string * 
        dwType:vsCommandBarType * 
        pCmdBarParent:Object * 
        dwIndex:uint32 * 
        ppCmdBar:Object byref -> unit
function AddCommandBar(
    pszCmdBarName : String, 
    dwType : vsCommandBarType, 
    pCmdBarParent : Object, 
    dwIndex : uint, 
    ppCmdBar : Object
)

Parameters

  • pCmdBarParent
    Type: System.Object

    The parent of the command bar.

.NET Framework Security

See Also

Reference

IVsProfferCommands Interface

EnvDTE Namespace