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
- ppClient
Type: Microsoft.VisualStudio.TextManager.Interop.IVsButtonBarClient%
[out] Pointer to the Buttonbar client.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.