共用方式為


TypeAndMemberDropdownBars.GetComboTipText(Int32, String) Method

Definition

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

public:
 virtual int GetComboTipText(int combo, [Runtime::InteropServices::Out] System::String ^ % text);
 virtual int GetComboTipText(int combo, [Runtime::InteropServices::Out] std::wstring const & & text);
public virtual int GetComboTipText (int combo, out string text);
abstract member GetComboTipText : int * string -> int
override this.GetComboTipText : int * string -> int
Public Overridable Function GetComboTipText (combo As Integer, ByRef text As String) As Integer

Parameters

combo
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
String

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

Returns

If successful, returns S_OK; otherwise, returns an error code.

Implements

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.

Applies to