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

‘선언
Public Overridable Function GetComboTipText ( _
    combo As Integer, _
    <OutAttribute> ByRef text As String _
) As Integer
‘사용 방법
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

See Also

Reference

TypeAndMemberDropdownBars Class

TypeAndMemberDropdownBars Members

Microsoft.VisualStudio.Package Namespace