Compartilhar via


IVsButtonBar.GetClient(IVsButtonBarClient) Method

Definition

Returns the client associated with a button bar.

public:
 int GetClient([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsButtonBarClient ^ % ppClient);
public:
 int GetClient([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsButtonBarClient ^ &  ppClient);
int GetClient([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsButtonBarClient const & & ppClient);
public int GetClient (out Microsoft.VisualStudio.TextManager.Interop.IVsButtonBarClient ppClient);
abstract member GetClient : IVsButtonBarClient -> int
Public Function GetClient (ByRef ppClient As IVsButtonBarClient) As Integer

Parameters

ppClient
IVsButtonBarClient

[out] Pointer to the button bar client.

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsButtonBar::GetClient(  
   [out] IVsButtonBarClient **ppClient  
);  

Applies to