CompletionTrigger Struct
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.
What caused the completion to trigger or update. Location is not provided in this struct because Editor maps the location to an appropriate buffer for each IAsyncCompletionSource.
public value class CompletionTrigger : IEquatable<Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionTrigger>
[System.Diagnostics.DebuggerDisplay("{Reason} {Character}")]
public struct CompletionTrigger : IEquatable<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionTrigger>
[<System.Diagnostics.DebuggerDisplay("{Reason} {Character}")>]
type CompletionTrigger = struct
Public Structure CompletionTrigger
Implements IEquatable(Of CompletionTrigger)
- Inheritance
-
CompletionTrigger
- Attributes
- Implements
Completion |
Creates a CompletionTrigger associated with a text edit |
Completion |
Creates a CompletionTrigger not associated with a text edit |
Character |
The text edit associated with the action. |
Reason |
The reason that completion action was taken. |
View |
ITextSnapshot on the view's text buffer before the completion action was taken. For Backspace, Deletion and Insertion, this is text snapshot before the edit has been made. You may use it to get higher fidelity data on text edits that led to this action. If there was no edit, or edit is unavailable, this is the ITextSnapshot at the time action happened. Take precaution when accessing this property: since this is a struct, it may be left uninitialized. |