TypeAndMemberDropdownBars.GetComboTipText Method
Returns text to be shown in a tool tip when the cursor is held over the combo box.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Syntax
'Dichiarazione
Public Overridable Function GetComboTipText ( _
combo As Integer, _
<OutAttribute> ByRef text As String _
) As Integer
'Utilizzo
Dim instance As TypeAndMemberDropdownBars
Dim combo As Integer
Dim text As String
Dim returnValue As Integer
returnValue = instance.GetComboTipText(combo, _
text)
public virtual int GetComboTipText(
int combo,
out string text
)
public:
virtual int GetComboTipText(
int combo,
[OutAttribute] String^% text
)
abstract GetComboTipText :
combo:int *
text:string byref -> int
override GetComboTipText :
combo:int *
text:string byref -> int
public function GetComboTipText(
combo : int,
text : String
) : int
Parameters
- combo
Type: System.Int32
[in] The ID of the combo box to get the tool tip text for (0 for the types combo box, 1 for the members combo box).
- text
Type: System.String%
[out] The text to be shown in a tool tip.
Return Value
Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.
Implements
IVsDropdownBarClient.GetComboTipText(Int32, String%)
Remarks
This method is an implementation of the GetComboTipText method on the IVsDropdownBarClient interface.
The base method retrieves the text to be displayed from the managed string resources named ComboTipTypes and ComboTipMembers, for the types and members combo boxes, respectively.
.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.
See Also
Reference
TypeAndMemberDropdownBars Class