Udostępnij za pośrednictwem


IVsButtonBarClient.OnButtonPressed(Int32) Method

Definition

Fired when a new button is pressed.

public:
 int OnButtonPressed(int iButton);
public:
 int OnButtonPressed(int iButton);
int OnButtonPressed(int iButton);
public int OnButtonPressed (int iButton);
abstract member OnButtonPressed : int -> int
Public Function OnButtonPressed (iButton As Integer) As Integer

Parameters

iButton
Int32

[in] Number of the button pressed.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsButtonBarClient::OnButtonPressed(  
   [in] long iButton  
);  

Applies to