IVsButtonBar.SetCurrentSelection(Int32) 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.
Spécifie le bouton sélectionné.
public:
int SetCurrentSelection(int iCurButton);
public:
int SetCurrentSelection(int iCurButton);
int SetCurrentSelection(int iCurButton);
public int SetCurrentSelection (int iCurButton);
abstract member SetCurrentSelection : int -> int
Public Function SetCurrentSelection (iCurButton As Integer) As Integer
Paramètres
- iCurButton
- Int32
dans Index du bouton à sélectionner.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.
Remarques
Signature COM
À partir de textmgr. idl :
HRESULT IVsButtonBar::SetCurrentSelection(
[in] long iCurButton
);