次の方法で共有


IToolTipProviderFactory.GetToolTipProvider(ITextView) Method

Definition

Gets the cached IToolTipProvider for a given ITextView. If one does not exist, creates and caches a new IToolTipProvider with the ITextView.

public:
 Microsoft::VisualStudio::Text::Adornments::IToolTipProvider ^ GetToolTipProvider(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView);
public:
 Microsoft::VisualStudio::Text::Adornments::IToolTipProvider ^ GetToolTipProvider(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView);
Microsoft::VisualStudio::Text::Adornments::IToolTipProvider GetToolTipProvider(Microsoft::VisualStudio::Text::Editor::ITextView const & textView);
public Microsoft.VisualStudio.Text.Adornments.IToolTipProvider GetToolTipProvider (Microsoft.VisualStudio.Text.Editor.ITextView textView);
abstract member GetToolTipProvider : Microsoft.VisualStudio.Text.Editor.ITextView -> Microsoft.VisualStudio.Text.Adornments.IToolTipProvider
Public Function GetToolTipProvider (textView As ITextView) As IToolTipProvider

Parameters

textView
ITextView

The ITextView with which to get the IToolTipProvider.

Returns

The cached IToolTipProvider for textView.

Remarks

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

Applies to