IVsProfferCommands4.RemoveCommandBarControl(Object) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Supprime un contrôle d'une barre de commandes.
public:
int RemoveCommandBarControl(System::Object ^ pCmdBarCtrl);
public:
int RemoveCommandBarControl(Platform::Object ^ pCmdBarCtrl);
int RemoveCommandBarControl(winrt::Windows::Foundation::IInspectable const & pCmdBarCtrl);
public int RemoveCommandBarControl (object pCmdBarCtrl);
abstract member RemoveCommandBarControl : obj -> int
Public Function RemoveCommandBarControl (pCmdBarCtrl As Object) As Integer
Paramètres
- pCmdBarCtrl
- Object
[in] Contrôle.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.