Condividi tramite


Metodo IVsProfferCommands2.AddCommandBar (String, vsCommandBarType, Object, UInt32, Object%)

Questa API supporta l'infrastruttura .NET Framework e non deve essere utilizzata direttamente dal codice.

Solo per utilizzo interno di Microsoft.

Spazio dei nomi:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

Sintassi

'Dichiarazione
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
)

Parametri

Implementa

IVsProfferCommands.AddCommandBar(String, vsCommandBarType, Object, UInt32, Object%)

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IVsProfferCommands2 Interfaccia

Overload AddCommandBar

Spazio dei nomi EnvDTE80