IToolTipProvider::ShowToolTip Method (ITrackingSpan^, Object^)

 

Creates and displays a tooltip.

Namespace:   Microsoft.VisualStudio.Text.Adornments
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

void ShowToolTip(
	ITrackingSpan^ span,
	Object^ toolTipContent
)

Parameters

span
Type: Microsoft.VisualStudio.Text::ITrackingSpan^

The range of text for which the tooltip is relevant.

toolTipContent
Type: System::Object^

The content to be displayed in the tooltip. This must be a string or UIElement for the WPF tooltip adornment surface.

This is equivalent to ShowToolTip with None.

Return to top
Show: