Thetype exposes the following members.
The cancellation token to use for this operation.
The span of the document the completion list corresponds to. It will be set initially to the result of GetDefaultCompletionListSpan(SourceText, Int32), but it can be overwritten bduring . The purpose of the span is to: 1. Signify where the completions should be presented. 2. Designate any existing text in the document that should be used for filtering. 3. Specify, by default, what portion of the text should be replaced when a completion item is committed.
The document that completion was invoked within.
Set to true if the items added here should be the only items presented to the user.
The options that completion was started with.
The caret position when completion was triggered.
An optional CompletionItem that appears selected in the list presented to the user during suggestion mode. Suggestion mode disables autoselection of items in the list, giving preference to the text typed by the user unless a specific item is selected manually. Specifying a SuggestionModeItem is a request that the completion host operate in suggestion mode. The item specified determines the text displayed and the description associated with it unless a different item is manually selected. No text is ever inserted when this item is completed, leaving the text the user typed instead.
The triggering action that caused completion to be started.