IVsButtonBar.SetCurrentSelection(Int32) Méthode

Définition

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

Int32

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  
);  

S’applique à