Partager via


CompletionTrigger Constructors

Definition

Overloads

CompletionTrigger(CompletionTriggerReason, ITextSnapshot)

Creates a CompletionTrigger not associated with a text edit

CompletionTrigger(CompletionTriggerReason, ITextSnapshot, Char)

Creates a CompletionTrigger associated with a text edit

CompletionTrigger(CompletionTriggerReason, ITextSnapshot)

Creates a CompletionTrigger not associated with a text edit

public:
 CompletionTrigger(Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionTriggerReason reason, Microsoft::VisualStudio::Text::ITextSnapshot ^ snapshotBeforeTrigger);
public CompletionTrigger (Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionTriggerReason reason, Microsoft.VisualStudio.Text.ITextSnapshot snapshotBeforeTrigger);
new Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionTrigger : Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionTriggerReason * Microsoft.VisualStudio.Text.ITextSnapshot -> Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionTrigger
Public Sub New (reason As CompletionTriggerReason, snapshotBeforeTrigger As ITextSnapshot)

Parameters

reason
CompletionTriggerReason

The kind of action that triggered completion action

snapshotBeforeTrigger
ITextSnapshot

Snapshot on the view's text buffer when action was taken

Applies to

CompletionTrigger(CompletionTriggerReason, ITextSnapshot, Char)

Creates a CompletionTrigger associated with a text edit

public:
 CompletionTrigger(Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionTriggerReason reason, Microsoft::VisualStudio::Text::ITextSnapshot ^ snapshotBeforeTrigger, char character);
public CompletionTrigger (Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionTriggerReason reason, Microsoft.VisualStudio.Text.ITextSnapshot snapshotBeforeTrigger, char character);
new Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionTrigger : Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionTriggerReason * Microsoft.VisualStudio.Text.ITextSnapshot * char -> Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionTrigger
Public Sub New (reason As CompletionTriggerReason, snapshotBeforeTrigger As ITextSnapshot, character As Char)

Parameters

reason
CompletionTriggerReason

The kind of action that caused completion to trigger or update

snapshotBeforeTrigger
ITextSnapshot

Snapshot on the view's text buffer before or when action was taken

character
Char

Character associated with the action

Applies to