IVsDebugger.GetDataTipValue(IVsTextLines, TextSpan[], String, String) Method

Definition

Retrieves debugger data tip text for a selected section of text.

C++/WinRT
int GetDataTipValue(Microsoft::VisualStudio::TextManager::Interop::IVsTextLines const & pTextBuf, std::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> const & pTS, std::wstring const & pszExpression, [Runtime::InteropServices::Out] std::wstring const & & pbstrValue);

Parameters

pTextBuf
IVsTextLines

[in] Pointer to a IVsTextLines interface to the text buffer.

pTS
TextSpan[]

[in] Pointer to a TextSpan structure describing the text location within the buffer. May be null when using the pszExpression argument.

pszExpression
String

[in] Text of the expression for which to retrieve the data tip text. May be null when using the pTS argument.

pbstrValue
String

[out] Pointer to a string containing the data tip text.

Returns

If the method succeeds, it returns TIP_S_NODEFAULTTIP. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

cpp#
HRESULT IVsDebugger::GetDataTipValue(  
   [in] IVsTextLines *pTextBuf,  
   [in] const TextSpan *pTS,  
   [in] WCHAR *pszExpression,  
   [out] BSTR *pbstrValue  
);  

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022