TypeAndMemberDropdownBars::GetComboTipText Method (Int32, String^)

 

Returns text to be shown in a tool tip when the cursor is held over the combo box.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual int GetComboTipText(
	int combo,
	[OutAttribute] 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.

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.

Return to top
Show: