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
‘선언
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
- ppClient
Type: Microsoft.VisualStudio.TextManager.Interop.IVsButtonBarClient%
[out] Pointer to the button bar 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.