This topic has not yet been rated - Rate this topic

IVsDebugger.GetDataTipValue Method

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

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int GetDataTipValue(
	IVsTextLines pTextBuf,
	TextSpan[] pTS,
	string pszExpression,
	out string pbstrValue
)

Parameters

pTextBuf
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextLines
[in] Pointer to a IVsTextLines interface to the text buffer
pTS
Type: Microsoft.VisualStudio.TextManager.Interop.TextSpan[]
[in] Pointer to a TextSpan structure describing the text location within the buffer. May be null when using the pszExpression argument.
pszExpression
Type: System.String
[in] Text of the expression for which to retrieve the data tip text. May be null when using the pTS argument.
pbstrValue
Type: System.String%
[out] Pointer to a string containing the data tip text.

Return Value

Type: System.Int32
If the method succeeds, it returns TIP_S_NODEFAULTTIP. If it fails, it returns an error code.

COM Signature

From vsshell.idl:

HRESULT IVsDebugger::GetDataTipValue(
   [in] IVsTextLines *pTextBuf,
   [in] const TextSpan *pTS,
   [in] WCHAR *pszExpression,
   [out] BSTR *pbstrValue
);
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ