Partager via


IVsButtonBar.GetClient Method

Returns the client associated with a Buttonbar.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Déclaration
Function GetClient ( _
    <OutAttribute> ByRef ppClient As IVsButtonBarClient _
) As Integer
'Utilisation
Dim instance As IVsButtonBar
Dim ppClient As IVsButtonBarClient
Dim returnValue As Integer

returnValue = instance.GetClient(ppClient)
int GetClient(
    out IVsButtonBarClient ppClient
)
int GetClient(
    [OutAttribute] IVsButtonBarClient^% ppClient
)
abstract GetClient : 
        ppClient:IVsButtonBarClient byref -> int 
function GetClient(
    ppClient : IVsButtonBarClient
) : int

Parameters

Return Value

Type: System.Int32
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
);

.NET Framework Security

See Also

Reference

IVsButtonBar Interface

IVsButtonBar Members

Microsoft.VisualStudio.TextManager.Interop Namespace