Udostępnij za pośrednictwem


Metoda IVsProfferCommands2.AddCommandBarControl —

Ten interfejs API obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.

Microsoft tylko do użytku wewnętrznego.

Przestrzeń nazw:  EnvDTE80
Zestaw:  EnvDTE80 (w EnvDTE80.dll)

Składnia

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

Parametry

  • pszCmdNameCanonical
    Typ: String

     

  • pCmdBarParent
    Typ: Object

     

  • dwIndex
    Typ: UInt32

     

  • dwCmdType
    Typ: UInt32

     

  • ppCmdBarCtrl
    Typ: Object%

     

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

IVsProfferCommands2 Interfejs

Przestrzeń nazw EnvDTE80