IVsButtonBarClient::OnButtonPressed Method (Int32)

 

Fired when a new button is pressed.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int OnButtonPressed(
	int iButton
)

Parameters

iButton
Type: System::Int32

[in] Number of the button pressed.

Return Value

Type: System::Int32

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

From textmgr.idl:

HRESULT IVsButtonBarClient::OnButtonPressed(
   [in] long iButton
);
Return to top
Show: