Share via


IAsyncCompletionCommitManagerProvider.GetOrCreate(ITextView) Method

Definition

Creates an instance of IAsyncCompletionCommitManager or IAsyncCompletionCommitManager2 for the specified ITextView. Called on the UI thread.

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

Parameters

textView
ITextView

Text view that will host the completion. Completion acts on buffers of this view.

Returns

Instance of IAsyncCompletionCommitManager or IAsyncCompletionCommitManager2

Applies to