CommandBarsClass.AddEx, méthode

Ajoute une barre de commandes, y compris son niveau de protection.

Espace de noms :  Microsoft.VisualStudio.CommandBars
Assembly :  Microsoft.VisualStudio.CommandBars (dans Microsoft.VisualStudio.CommandBars.dll)

Syntaxe

'Déclaration
Public Overridable Function AddEx ( _
    TbidOrName As Object, _
    Position As Object, _
    MenuBar As Object, _
    Temporary As Object, _
    TbtrProtection As Object _
) As CommandBar
public virtual CommandBar AddEx(
    Object TbidOrName,
    Object Position,
    Object MenuBar,
    Object Temporary,
    Object TbtrProtection
)

Paramètres

  • MenuBar
    Type : System.Object
    true si la barre de commandes est une barre de menus, sinon false.
  • Temporary
    Type : System.Object
    true si la barre est temporaire, sinon false.

Valeur de retour

Type : Microsoft.VisualStudio.CommandBars.CommandBar
CommandBar nouveau- ajouté.

Implémentations

_CommandBars.AddEx(Object, Object, Object, Object, Object)

Sécurité .NET Framework

Voir aussi

Référence

CommandBarsClass Classe

Microsoft.VisualStudio.CommandBars, espace de noms