IVsDebugger::GetDataTipValue Method (IVsTextLines^, array<TextSpan>^, String^, String^)

 

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,
	array<TextSpan>^ pTS,
	String^ pszExpression,
	[OutAttribute] String^% pbstrValue
)

Parameters

pTextBuf
Type: Microsoft.VisualStudio.TextManager.Interop::IVsTextLines^

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

pTS
Type: array<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.

From vsshell.idl:

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