IVsDropdownBar.GetClient Method
Returns the client associated with this drop-down bar.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'宣言
Function GetClient ( _
<OutAttribute> ByRef ppClient As IVsDropdownBarClient _
) As Integer
'使用
Dim instance As IVsDropdownBar
Dim ppClient As IVsDropdownBarClient
Dim returnValue As Integer
returnValue = instance.GetClient(ppClient)
int GetClient(
out IVsDropdownBarClient ppClient
)
int GetClient(
[OutAttribute] IVsDropdownBarClient^% ppClient
)
function GetClient(
ppClient : IVsDropdownBarClient
) : int
Parameters
ppClient
Type: Microsoft.VisualStudio.TextManager.Interop.IVsDropdownBarClient%[out] Pointer to the client. See IVsDropdownBarClient.
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 IVsDropdownBar::GetClient(
[out] IVsDropdownBarClient **ppClient
);
Permissions
- 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.