Partager via


IAsyncCompletionSessionOperations.InvokeAndCommitIfUnique Method

Definition

Commits unique item. If no items were computed, performs computation. If there is no unique item, shows the UI.

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

Parameters

triggerLocation
SnapshotPoint

Applies to