다음을 통해 공유


IAsyncCompletionSession.OpenOrUpdate Method

Definition

Overloads

OpenOrUpdate(CompletionTrigger, SnapshotPoint, CancellationToken)

Request completion to be opened or updated in a given location, the completion items to be filtered and sorted, and the UI updated. Must be called on UI thread. Enqueues work on a worker thread.

OpenOrUpdate(InitialTrigger, SnapshotPoint, CancellationToken)

Request completion to be opened or updated in a given location, the completion items to be filtered and sorted, and the UI updated. Must be called on UI thread. Enqueues work on a worker thread.

OpenOrUpdate(CompletionTrigger, SnapshotPoint, CancellationToken)

Request completion to be opened or updated in a given location, the completion items to be filtered and sorted, and the UI updated. Must be called on UI thread. Enqueues work on a worker thread.

public:
 void OpenOrUpdate(Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionTrigger trigger, Microsoft::VisualStudio::Text::SnapshotPoint triggerLocation, System::Threading::CancellationToken token);
public void OpenOrUpdate (Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionTrigger trigger, Microsoft.VisualStudio.Text.SnapshotPoint triggerLocation, System.Threading.CancellationToken token);
abstract member OpenOrUpdate : Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionTrigger * Microsoft.VisualStudio.Text.SnapshotPoint * System.Threading.CancellationToken -> unit
Public Sub OpenOrUpdate (trigger As CompletionTrigger, triggerLocation As SnapshotPoint, token As CancellationToken)

Parameters

trigger
CompletionTrigger

What caused completion

triggerLocation
SnapshotPoint

Location of the trigger on the subject buffer

token
CancellationToken

Token used to cancel this and other queued operation.

Applies to

OpenOrUpdate(InitialTrigger, SnapshotPoint, CancellationToken)

Request completion to be opened or updated in a given location, the completion items to be filtered and sorted, and the UI updated. Must be called on UI thread. Enqueues work on a worker thread.

public:
 void OpenOrUpdate(Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::InitialTrigger trigger, Microsoft::VisualStudio::Text::SnapshotPoint triggerLocation, System::Threading::CancellationToken token);
public void OpenOrUpdate (Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.InitialTrigger trigger, Microsoft.VisualStudio.Text.SnapshotPoint triggerLocation, System.Threading.CancellationToken token);
abstract member OpenOrUpdate : Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.InitialTrigger * Microsoft.VisualStudio.Text.SnapshotPoint * System.Threading.CancellationToken -> unit
Public Sub OpenOrUpdate (trigger As InitialTrigger, triggerLocation As SnapshotPoint, token As CancellationToken)

Parameters

trigger
InitialTrigger

What caused completion

triggerLocation
SnapshotPoint

Location of the trigger on the subject buffer

token
CancellationToken

Token used to cancel this and other queued operation.

Applies to