IVsButtonBar.SetCurrentSelection(Int32) Yöntem

Tanım

Seçilen düğmeyi belirtir.

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

Parametreler

iCurButton
Int32

'ndaki Seçilecek düğmenin dizini.

Döndürülenler

Int32

Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.

Açıklamalar

COM Imzası

Textmgr. IDL dosyasından:

HRESULT IVsButtonBar::SetCurrentSelection(  
   [in] long iCurButton  
);  

Şunlara uygulanır