Compartir a través de


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

Syntax

'Declaration
Public Overridable Function GetComboTipText ( _
    combo As Integer, _
    <OutAttribute> ByRef text As String _
) As Integer
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: 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: String%

    [out] The text to be shown in a tool tip.

Return Value

Type: 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