IAsyncCompletionSourceProvider.GetOrCreate(ITextView) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an instance of IAsyncCompletionSource for the specified ITextView. Called on the UI thread.
public:
Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::IAsyncCompletionSource ^ GetOrCreate(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView);
public Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.IAsyncCompletionSource GetOrCreate (Microsoft.VisualStudio.Text.Editor.ITextView textView);
abstract member GetOrCreate : Microsoft.VisualStudio.Text.Editor.ITextView -> Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.IAsyncCompletionSource
Public Function GetOrCreate (textView As ITextView) As IAsyncCompletionSource
Parameters
- textView
- ITextView
Text view that will host the completion. Completion acts on buffers of this view.
Returns
Instance of IAsyncCompletionSource