ICompletionPresenterProvider.GetOrCreate(ITextView) 方法

定义

返回的实例 ICompletionPresenter ,该实例将承载给定的完成 ITextView 。 在 UI 线程上调用。

public:
 Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::ICompletionPresenter ^ GetOrCreate(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView);
public Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.ICompletionPresenter GetOrCreate (Microsoft.VisualStudio.Text.Editor.ITextView textView);
abstract member GetOrCreate : Microsoft.VisualStudio.Text.Editor.ITextView -> Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.ICompletionPresenter
Public Function GetOrCreate (textView As ITextView) As ICompletionPresenter

参数

textView
ITextView

将承载完成的文本视图。 完成操作在此视图的缓冲区上操作。

返回

ICompletionPresenter

实例 ICompletionPresenter

注解

建议每次调用此方法时,重复使用 UI 来创建新的 UI。

适用于