IToolTipProvider.ShowToolTip-Methode (ITrackingSpan, Object, PopupStyles)
Erstellt und zeigt eine QuickInfo an.
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, _
style As PopupStyles _
)
void ShowToolTip(
ITrackingSpan span,
Object toolTipContent,
PopupStyles style
)
void ShowToolTip(
ITrackingSpan^ span,
Object^ toolTipContent,
PopupStyles style
)
abstract ShowToolTip :
span:ITrackingSpan *
toolTipContent:Object *
style:PopupStyles -> unit
function ShowToolTip(
span : ITrackingSpan,
toolTipContent : Object,
style : PopupStyles
)
Parameter
span
Typ: Microsoft.VisualStudio.Text.ITrackingSpanDer Textbereich, für den die QuickInfo relevant ist.
toolTipContent
Typ: ObjectDer Inhalt, der in der QuickInfo angezeigt werden soll. Dabei muss es sich um eine durch die WPF quickinfo-Zusatzelement Oberfläche zu verwendende Zeichenfolge oder ein UIElement sein.
style
Typ: Microsoft.VisualStudio.Text.Adornments.PopupStylesPopupStyles für die QuickInfo.
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.