Share via


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

Definition

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

public:
 int GetDataTipValue(Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ pTextBuf, cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ pTS, System::String ^ pszExpression, [Runtime::InteropServices::Out] System::String ^ % pbstrValue);
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);
public int GetDataTipValue (Microsoft.VisualStudio.TextManager.Interop.IVsTextLines pTextBuf, Microsoft.VisualStudio.TextManager.Interop.TextSpan[] pTS, string pszExpression, out string pbstrValue);
abstract member GetDataTipValue : Microsoft.VisualStudio.TextManager.Interop.IVsTextLines * Microsoft.VisualStudio.TextManager.Interop.TextSpan[] * string * string -> int
Public Function GetDataTipValue (pTextBuf As IVsTextLines, pTS As TextSpan(), pszExpression As String, ByRef pbstrValue As String) As Integer

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:

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

Applies to