VsDefaultButtonBarImagesClass.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:
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.