IVsDefaultButtonBarImages.GetButtonCount(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.
Returns the number of buttons on a Buttonbar.
public:
int GetButtonCount([Runtime::InteropServices::Out] int % pcButtons);
int GetButtonCount([Runtime::InteropServices::Out] int & pcButtons);
public int GetButtonCount (out int pcButtons);
abstract member GetButtonCount : int -> int
Public Function GetButtonCount (ByRef pcButtons As Integer) As Integer
Parameters
- pcButtons
- Int32
[out] Number of buttons.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsDefaultButtonBarImages::GetButtonCount(
[out] long *pcButtons
);