CompletionContext Constructors
Definition
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.
Overloads
CompletionContext(ImmutableArray<CompletionItem>) |
[Deprecated] Constructs CompletionContext with specified CompletionItems, with recommendation to not use suggestion mode and to use use regular selection. Note: completion will iterate through all items to determine filters. For better performance, use the overload which accepts ImmutableArray<T> |
CompletionContext(CompletionList<CompletionItem>, SuggestionItemOptions, InitialSelectionHint, ImmutableArray<CompletionFilterWithState>, Boolean, PropertyCollection) |
Constructs CompletionContext with specified CompletionItems, with recommendation to use suggestion mode item and to use a specific selection mode. |
CompletionContext(ImmutableArray<CompletionItem>, SuggestionItemOptions, InitialSelectionHint, ImmutableArray<CompletionFilterWithState>, Boolean) |
Constructs CompletionContext with specified CompletionItems, with recommendation to use suggestion mode item and to use a specific selection mode. |
CompletionContext(ImmutableArray<CompletionItem>, SuggestionItemOptions, InitialSelectionHint, ImmutableArray<CompletionFilterWithState>) |
Constructs CompletionContext with specified CompletionItems, with recommendation to use suggestion mode item and to use a specific selection mode. |
CompletionContext(ImmutableArray<CompletionItem>, SuggestionItemOptions, InitialSelectionHint, ImmutableArray<CompletionFilterWithState>, Boolean, PropertyCollection) |
Constructs CompletionContext with specified CompletionItems, with recommendation to use suggestion mode item and to use a specific selection mode. |
CompletionContext(ImmutableArray<CompletionItem>, SuggestionItemOptions, InitialSelectionHint) |
Constructs CompletionContext with specified CompletionItems, with recommendation to use suggestion mode item and to use a specific selection mode. Note: completion will iterate through all items to determine filters. For better performance, use the overload which accepts ImmutableArray<T> |
CompletionContext(ImmutableArray<CompletionItem>, ImmutableArray<CompletionFilterWithState>) |
Constructs CompletionContext with specified CompletionItems and CompletionFilterWithStates with recommendation to not use suggestion mode and to use use regular selection. |
CompletionContext(ImmutableArray<CompletionItem>, SuggestionItemOptions) |
Constructs CompletionContext with specified CompletionItems, with recommendation to use suggestion mode and to use regular selection. Note: completion will iterate through all items to determine filters. For better performance, use the overload which accepts ImmutableArray<T> |
CompletionContext(ImmutableArray<CompletionItem>, ImmutableArray<CompletionFilterWithState>, Boolean) |
Constructs CompletionContext with specified CompletionItems and CompletionFilterWithStates with recommendation to not use suggestion mode and to use use regular selection. |
CompletionContext(ImmutableArray<CompletionItem>)
[Deprecated] Constructs CompletionContext with specified CompletionItems, with recommendation to not use suggestion mode and to use use regular selection. Note: completion will iterate through all items to determine filters. For better performance, use the overload which accepts ImmutableArray<T>
public:
CompletionContext(System::Collections::Immutable::ImmutableArray<Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionItem ^> items);
public CompletionContext (System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem> items);
new Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionContext : System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem> -> Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionContext
Public Sub New (items As ImmutableArray(Of CompletionItem))
Parameters
- items
- ImmutableArray<CompletionItem>
Available completion items. If none are available, use CompletionContext.Default
Applies to
CompletionContext(CompletionList<CompletionItem>, SuggestionItemOptions, InitialSelectionHint, ImmutableArray<CompletionFilterWithState>, Boolean, PropertyCollection)
Constructs CompletionContext with specified CompletionItems, with recommendation to use suggestion mode item and to use a specific selection mode.
public CompletionContext (Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionList<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem> items, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.SuggestionItemOptions? suggestionItemOptions, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.InitialSelectionHint selectionHint, System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionFilterWithState> filters, bool isIncomplete, Microsoft.VisualStudio.Utilities.PropertyCollection? properties);
new Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionContext : Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionList<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem> * Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.SuggestionItemOptions * Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.InitialSelectionHint * System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionFilterWithState> * bool * Microsoft.VisualStudio.Utilities.PropertyCollection -> Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionContext
Public Sub New (items As CompletionList(Of CompletionItem), suggestionItemOptions As SuggestionItemOptions, selectionHint As InitialSelectionHint, filters As ImmutableArray(Of CompletionFilterWithState), isIncomplete As Boolean, properties As PropertyCollection)
Parameters
- items
- CompletionList<CompletionItem>
Available completion items
- suggestionItemOptions
- SuggestionItemOptions
Suggestion mode options, or null to not use suggestion mode. Default is null
- selectionHint
- InitialSelectionHint
Recommended selection mode. Suggestion mode automatically sets soft selection Default is InitialSelectionHint.RegularSelection
- filters
- ImmutableArray<CompletionFilterWithState>
Available completion filters. Each filter's IsSelected property is used to determine initial selection.
- isIncomplete
- Boolean
Whether subsequent typing should request new CompletionContext. Default is false
- properties
- PropertyCollection
Property bag which, if not null, will be merged with IAsyncCompletionSession.Properties. The IsAvailable property is ignored.
Applies to
CompletionContext(ImmutableArray<CompletionItem>, SuggestionItemOptions, InitialSelectionHint, ImmutableArray<CompletionFilterWithState>, Boolean)
Constructs CompletionContext with specified CompletionItems, with recommendation to use suggestion mode item and to use a specific selection mode.
public:
CompletionContext(System::Collections::Immutable::ImmutableArray<Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionItem ^> items, Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::SuggestionItemOptions ^ suggestionItemOptions, Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::InitialSelectionHint selectionHint, System::Collections::Immutable::ImmutableArray<Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionFilterWithState ^> filters, bool isIncomplete);
public CompletionContext (System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem> items, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.SuggestionItemOptions suggestionItemOptions, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.InitialSelectionHint selectionHint, System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionFilterWithState> filters, bool isIncomplete);
public CompletionContext (System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem> items, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.SuggestionItemOptions? suggestionItemOptions, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.InitialSelectionHint selectionHint, System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionFilterWithState> filters, bool isIncomplete);
new Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionContext : System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem> * Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.SuggestionItemOptions * Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.InitialSelectionHint * System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionFilterWithState> * bool -> Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionContext
Public Sub New (items As ImmutableArray(Of CompletionItem), suggestionItemOptions As SuggestionItemOptions, selectionHint As InitialSelectionHint, filters As ImmutableArray(Of CompletionFilterWithState), isIncomplete As Boolean)
Parameters
- items
- ImmutableArray<CompletionItem>
Available completion items
- suggestionItemOptions
- SuggestionItemOptions
Suggestion mode options, or null to not use suggestion mode. Default is null
- selectionHint
- InitialSelectionHint
Recommended selection mode. Suggestion mode automatically sets soft selection Default is InitialSelectionHint.RegularSelection
- filters
- ImmutableArray<CompletionFilterWithState>
Available completion filters. Each filter's IsSelected property is used to determine initial selection.
Whether subsequent typing should request new CompletionContext. Default is false
The IsAvailable property is ignored.
- isIncomplete
- Boolean
Applies to
CompletionContext(ImmutableArray<CompletionItem>, SuggestionItemOptions, InitialSelectionHint, ImmutableArray<CompletionFilterWithState>)
Constructs CompletionContext with specified CompletionItems, with recommendation to use suggestion mode item and to use a specific selection mode.
public:
CompletionContext(System::Collections::Immutable::ImmutableArray<Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionItem ^> items, Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::SuggestionItemOptions ^ suggestionItemOptions, Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::InitialSelectionHint selectionHint, System::Collections::Immutable::ImmutableArray<Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionFilterWithState ^> filters);
public CompletionContext (System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem> items, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.SuggestionItemOptions suggestionItemOptions, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.InitialSelectionHint selectionHint, System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionFilterWithState> filters);
public CompletionContext (System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem> items, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.SuggestionItemOptions? suggestionItemOptions, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.InitialSelectionHint selectionHint, System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionFilterWithState> filters);
new Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionContext : System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem> * Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.SuggestionItemOptions * Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.InitialSelectionHint * System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionFilterWithState> -> Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionContext
Public Sub New (items As ImmutableArray(Of CompletionItem), suggestionItemOptions As SuggestionItemOptions, selectionHint As InitialSelectionHint, filters As ImmutableArray(Of CompletionFilterWithState))
Parameters
- items
- ImmutableArray<CompletionItem>
Available completion items
- suggestionItemOptions
- SuggestionItemOptions
Suggestion mode options, or null to not use suggestion mode. Default is null
- selectionHint
- InitialSelectionHint
Recommended selection mode. Suggestion mode automatically sets soft selection Default is InitialSelectionHint.RegularSelection
- filters
- ImmutableArray<CompletionFilterWithState>
Available completion filters. Each filter's IsSelected property is used to determine initial selection. The IsAvailable property is ignored.
Applies to
CompletionContext(ImmutableArray<CompletionItem>, SuggestionItemOptions, InitialSelectionHint, ImmutableArray<CompletionFilterWithState>, Boolean, PropertyCollection)
Constructs CompletionContext with specified CompletionItems, with recommendation to use suggestion mode item and to use a specific selection mode.
public:
CompletionContext(System::Collections::Immutable::ImmutableArray<Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionItem ^> items, Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::SuggestionItemOptions ^ suggestionItemOptions, Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::InitialSelectionHint selectionHint, System::Collections::Immutable::ImmutableArray<Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionFilterWithState ^> filters, bool isIncomplete, Microsoft::VisualStudio::Utilities::PropertyCollection ^ properties);
public CompletionContext (System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem> items, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.SuggestionItemOptions? suggestionItemOptions, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.InitialSelectionHint selectionHint, System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionFilterWithState> filters, bool isIncomplete, Microsoft.VisualStudio.Utilities.PropertyCollection? properties);
new Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionContext : System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem> * Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.SuggestionItemOptions * Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.InitialSelectionHint * System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionFilterWithState> * bool * Microsoft.VisualStudio.Utilities.PropertyCollection -> Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionContext
Public Sub New (items As ImmutableArray(Of CompletionItem), suggestionItemOptions As SuggestionItemOptions, selectionHint As InitialSelectionHint, filters As ImmutableArray(Of CompletionFilterWithState), isIncomplete As Boolean, properties As PropertyCollection)
Parameters
- items
- ImmutableArray<CompletionItem>
Available completion items
- suggestionItemOptions
- SuggestionItemOptions
Suggestion mode options, or null to not use suggestion mode. Default is null
- selectionHint
- InitialSelectionHint
Recommended selection mode. Suggestion mode automatically sets soft selection Default is InitialSelectionHint.RegularSelection
- filters
- ImmutableArray<CompletionFilterWithState>
Available completion filters. Each filter's IsSelected property is used to determine initial selection.
- isIncomplete
- Boolean
Whether subsequent typing should request new CompletionContext. Default is false
- properties
- PropertyCollection
Property bag which, if not null, will be merged with IAsyncCompletionSession.Properties. The IsAvailable property is ignored.
Applies to
CompletionContext(ImmutableArray<CompletionItem>, SuggestionItemOptions, InitialSelectionHint)
Constructs CompletionContext with specified CompletionItems, with recommendation to use suggestion mode item and to use a specific selection mode. Note: completion will iterate through all items to determine filters. For better performance, use the overload which accepts ImmutableArray<T>
public:
CompletionContext(System::Collections::Immutable::ImmutableArray<Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionItem ^> items, Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::SuggestionItemOptions ^ suggestionItemOptions, Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::InitialSelectionHint selectionHint);
public CompletionContext (System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem> items, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.SuggestionItemOptions suggestionItemOptions, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.InitialSelectionHint selectionHint);
public CompletionContext (System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem> items, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.SuggestionItemOptions? suggestionItemOptions, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.InitialSelectionHint selectionHint);
new Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionContext : System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem> * Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.SuggestionItemOptions * Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.InitialSelectionHint -> Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionContext
Public Sub New (items As ImmutableArray(Of CompletionItem), suggestionItemOptions As SuggestionItemOptions, selectionHint As InitialSelectionHint)
Parameters
- items
- ImmutableArray<CompletionItem>
Available completion items
- suggestionItemOptions
- SuggestionItemOptions
Suggestion mode options, or null to not use suggestion mode. Default is null
- selectionHint
- InitialSelectionHint
Recommended selection mode. Suggestion mode automatically sets soft selection Default is InitialSelectionHint.RegularSelection
Applies to
CompletionContext(ImmutableArray<CompletionItem>, ImmutableArray<CompletionFilterWithState>)
Constructs CompletionContext with specified CompletionItems and CompletionFilterWithStates with recommendation to not use suggestion mode and to use use regular selection.
public:
CompletionContext(System::Collections::Immutable::ImmutableArray<Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionItem ^> items, System::Collections::Immutable::ImmutableArray<Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionFilterWithState ^> filters);
public CompletionContext (System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem> items, System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionFilterWithState> filters);
new Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionContext : System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem> * System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionFilterWithState> -> Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionContext
Public Sub New (items As ImmutableArray(Of CompletionItem), filters As ImmutableArray(Of CompletionFilterWithState))
Parameters
- items
- ImmutableArray<CompletionItem>
Available completion items. If none are available, use CompletionContext.Default
- filters
- ImmutableArray<CompletionFilterWithState>
Available completion filters. Each filter's IsSelected property is used to determine initial selection. The IsAvailable property is ignored.
Applies to
CompletionContext(ImmutableArray<CompletionItem>, SuggestionItemOptions)
Constructs CompletionContext with specified CompletionItems, with recommendation to use suggestion mode and to use regular selection. Note: completion will iterate through all items to determine filters. For better performance, use the overload which accepts ImmutableArray<T>
public:
CompletionContext(System::Collections::Immutable::ImmutableArray<Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionItem ^> items, Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::SuggestionItemOptions ^ suggestionItemOptions);
public CompletionContext (System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem> items, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.SuggestionItemOptions suggestionItemOptions);
public CompletionContext (System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem> items, Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.SuggestionItemOptions? suggestionItemOptions);
new Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionContext : System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem> * Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.SuggestionItemOptions -> Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionContext
Public Sub New (items As ImmutableArray(Of CompletionItem), suggestionItemOptions As SuggestionItemOptions)
Parameters
- items
- ImmutableArray<CompletionItem>
Available completion items
- suggestionItemOptions
- SuggestionItemOptions
Suggestion item options, or null to not use suggestion mode. Default is null
Applies to
CompletionContext(ImmutableArray<CompletionItem>, ImmutableArray<CompletionFilterWithState>, Boolean)
Constructs CompletionContext with specified CompletionItems and CompletionFilterWithStates with recommendation to not use suggestion mode and to use use regular selection.
public:
CompletionContext(System::Collections::Immutable::ImmutableArray<Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionItem ^> items, System::Collections::Immutable::ImmutableArray<Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionFilterWithState ^> filters, bool isIncomplete);
public CompletionContext (System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem> items, System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionFilterWithState> filters, bool isIncomplete);
new Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionContext : System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionItem> * System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionFilterWithState> * bool -> Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionContext
Public Sub New (items As ImmutableArray(Of CompletionItem), filters As ImmutableArray(Of CompletionFilterWithState), isIncomplete As Boolean)
Parameters
- items
- ImmutableArray<CompletionItem>
Available completion items. If none are available, use CompletionContext.Default
- filters
- ImmutableArray<CompletionFilterWithState>
Available completion filters. Each filter's IsSelected property is used to determine initial selection.
Whether subsequent typing should request new CompletionContext. Default is false
The IsAvailable property is ignored.
- isIncomplete
- Boolean