IVsButtonBarClient.OnButtonPressed(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
);