Udostępnij za pośrednictwem


IVsDefaultButtonBarImages.GetButtonCount(Int32) Method

Definition

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  
);  

Applies to