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
- textView
Type: Microsoft.VisualStudio.Text.Editor.ITextView
The ITextView.
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
- 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.