Freigeben über


CompletionContext.Filters Property

Definition

Set of completion filters available for this session. Each filter's IsSelected property is used to determine initial selection. The IsAvailable property is ignored.

Typically, this is used to select CompletionExpanders that correspond to provided CompletionItems, in scenarios when the completion source provides expanded items by default.

public:
 property System::Collections::Immutable::ImmutableArray<Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionFilterWithState ^> Filters { System::Collections::Immutable::ImmutableArray<Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::CompletionFilterWithState ^> get(); };
public System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionFilterWithState> Filters { get; }
member this.Filters : System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.CompletionFilterWithState>
Public ReadOnly Property Filters As ImmutableArray(Of CompletionFilterWithState)

Property Value

Remarks

When the value is uninitialized, then ItemList need to be enumerated to find the filters.

Applies to