IVsDebugger.GetDataTipValue Method
Retrieves debugger data tip text for a selected section of text.
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.Int32If the method succeeds, it returns TIP_S_NODEFAULTTIP. If it fails, it returns an error code.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.