Freigeben über


IToolTipProviderFactory.GetToolTipProvider Method

Gets the cached IToolTipProvider for a given ITextView.

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

Syntax

'Declaration
Function GetToolTipProvider ( _
    textView As ITextView _
) As IToolTipProvider
IToolTipProvider GetToolTipProvider(
    ITextView textView
)
IToolTipProvider^ GetToolTipProvider(
    ITextView^ textView
)
abstract GetToolTipProvider : 
        textView:ITextView -> IToolTipProvider
function GetToolTipProvider(
    textView : ITextView
) : IToolTipProvider

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Adornments.IToolTipProvider
The cached IToolTipProvider for textView.

Remarks

If no tagger exists, creates and caches a new IToolTipProvider with the ITextView.

.NET Framework Security

See Also

Reference

IToolTipProviderFactory Interface

Microsoft.VisualStudio.Text.Adornments Namespace