Partilhar via


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.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaração
Public Overridable Function GetComboTipText ( _
    combo As Integer, _
    <OutAttribute> ByRef text As String _
) As Integer
public virtual int GetComboTipText(
    int combo,
    out string text
)

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

See Also

Reference

TypeAndMemberDropdownBars Class

Microsoft.VisualStudio.Package Namespace