Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates and displays a tooltip.
Namespace: Microsoft.VisualStudio.Text.Adornments
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaration
Sub ShowToolTip ( _
span As ITrackingSpan, _
toolTipContent As Object _
)
void ShowToolTip(
ITrackingSpan span,
Object toolTipContent
)
void ShowToolTip(
ITrackingSpan^ span,
Object^ toolTipContent
)
abstract ShowToolTip :
span:ITrackingSpan *
toolTipContent:Object -> unit
function ShowToolTip(
span : ITrackingSpan,
toolTipContent : Object
)
Parameters
span
Type: Microsoft.VisualStudio.Text.ITrackingSpanThe range of text for which the tooltip is relevant.
toolTipContent
Type: System.ObjectThe content to be displayed in the tooltip. This must be a string or UIElement for the WPF tooltip adornment surface.
Remarks
This is equivalent to ShowToolTip with None.
.NET Framework Security
- 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.