VsDefaultButtonBarImagesClass.GetButtonCount(Int32) Method

Definition

Returns the number of buttons on a Buttonbar.

public:
 virtual int GetButtonCount([Runtime::InteropServices::Out] int % pcButtons) = Microsoft::VisualStudio::TextManager::Interop::IVsDefaultButtonBarImages::GetButtonCount;
public:
 virtual int GetButtonCount([Runtime::InteropServices::Out] int % pcButtons);
 virtual int GetButtonCount([Runtime::InteropServices::Out] int & pcButtons);
public virtual int GetButtonCount (out int pcButtons);
abstract member GetButtonCount : int -> int
override this.GetButtonCount : int -> int
Public Overridable 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.

Implements

Applies to