IVsDropdownBarClient.GetComboTipText Method
Returns the tooltip for an entire drop-down bar combination.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'宣告
Function GetComboTipText ( _
iCombo As Integer, _
<OutAttribute> ByRef pbstrText As String _
) As Integer
'用途
Dim instance As IVsDropdownBarClient
Dim iCombo As Integer
Dim pbstrText As String
Dim returnValue As Integer
returnValue = instance.GetComboTipText(iCombo, _
pbstrText)
int GetComboTipText(
int iCombo,
out string pbstrText
)
int GetComboTipText(
[InAttribute] int iCombo,
[OutAttribute] String^% pbstrText
)
abstract GetComboTipText :
iCombo:int *
pbstrText:string byref -> int
function GetComboTipText(
iCombo : int,
pbstrText : String
) : int
Parameters
- iCombo
Type: System.Int32
[in] The drop-down bar/Window combination.
- pbstrText
Type: System.String%
[out] String containing the tooltip text.
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 IVsDropdownBarClient::GetComboTipText(
[in] long iCombo,
[out] BSTR *pbstrText
);
.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.