Compartir a través de


IVsButtonBar.GetClient Method

Returns the client associated with a button bar.

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

Syntax

'Declaration
Function GetClient ( _
    <OutAttribute> ByRef ppClient As IVsButtonBarClient _
) As Integer
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

Microsoft.VisualStudio.TextManager.Interop Namespace