IVsTextViewFilter::GetDataTipText Method (array<TextSpan>^, String^)
Visual Studio 2015
Provides data-tip support by obtaining the string value of the tip text.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- pSpan
-
Type:
array<Microsoft.VisualStudio.TextManager.Interop::TextSpan>^
[in, out] On input, the parameter specifies the user-selected characters to which the tip should apply. On output, the parameter specifies a pointer to the entire span of text associated with the tip.
- pbstrText
-
Type:
System::String^
[out] Pointer to a string containing the tip text.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsTextViewFilter::GetDataTipText(
[in, out] TextSpan * pSpan,
[out] BSTR * pbstrText
);
Use this method to provide a data tip for a variable or other language construct in the core text editor. For example, Visual Basic uses data tips to show the value of a variable as a user steps through code.
Show: