IVsSimpleObjectList2::GetTipTextWithOwnership Method (UInt32, VSTREETOOLTIPTYPE, String^)
Visual Studio 2015
Returns the tool tip text for the requested tree list item.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int GetTipTextWithOwnership( unsigned int index, VSTREETOOLTIPTYPE eTipType, [OutAttribute] String^% pbstrText )
Parameters
- index
-
Type:
System::UInt32
[in] Specifies the index of the node of interest.
- eTipType
-
Type:
Microsoft.VisualStudio.Shell.Interop::VSTREETOOLTIPTYPE
[in] Specifies the type of tool tip text. Values are taken from the VSTREETOOLTIPTYPE enumeration.
- pbstrText
-
Type:
System::String^
[out] Returns a string containing the tree list item's tip text.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT IVsSimpleObjectList2::GetTipTextWithOwnership( [in] ULONG Index, [in] VSTREETOOLTIPTYPE eTipType, [out] BSTR *ppszText );
This method returns the ToolTip text for the list item. GetTipText is usually not implemented. If you return E_NOTIMPL or E_FAIL to a GetText call, the ToolTip text defaults to the string found in TTO_DISPLAYTEXT.
Show: