Condividi tramite


CompletionSet2 Class

Definition

Important

This API is not CLS-compliant.

Represents a set of completions that supports a row of filter buttons displayed at the bottom on the intellisense popup.

public ref class CompletionSet2 : Microsoft::VisualStudio::Language::Intellisense::CompletionSet
[Windows::Foundation::Metadata::WebHostHidden]
class CompletionSet2 : Microsoft::VisualStudio::Language::Intellisense::CompletionSet
[System.CLSCompliant(false)]
public class CompletionSet2 : Microsoft.VisualStudio.Language.Intellisense.CompletionSet
public class CompletionSet2 : Microsoft.VisualStudio.Language.Intellisense.CompletionSet
[<System.CLSCompliant(false)>]
type CompletionSet2 = class
    inherit CompletionSet
type CompletionSet2 = class
    inherit CompletionSet
Public Class CompletionSet2
Inherits CompletionSet
Inheritance
CompletionSet2
Attributes

Constructors

CompletionSet2()

Initializes a new instance of CompletionSet2.

CompletionSet2(String, String, ITrackingSpan, IEnumerable<Completion>, IEnumerable<Completion>, IReadOnlyList<IIntellisenseFilter>)

Initializes a new instance of CompletionSet2 with the specified name, text and filters.

Properties

ApplicableTo

Gets or sets the text tracking span to which this completion applies.

(Inherited from CompletionSet)
CompletionBuilders

Gets the list of completion builders that are part of this completion set.

(Inherited from CompletionSet)
Completions

Gets the list of completions that are part of this completion set.

(Inherited from CompletionSet)
DisplayName

Gets or sets the localized name of this completion set.

(Inherited from CompletionSet)
Filters
Moniker

The unique, non-localized identifier for the completion set.

(Inherited from CompletionSet)
SelectionStatus

Gets or sets the CompletionSelectionStatus.

(Inherited from CompletionSet)
WritableCompletionBuilders

Gets the ObservableCollection of writable completion builders.

(Inherited from CompletionSet)
WritableCompletions

Gets the ObservableCollection of writable completions.

(Inherited from CompletionSet)

Methods

Filter()

Filters the set of completions to those that match the applicability text of the completion set and determines the best match.

(Inherited from CompletionSet)
Filter(CompletionMatchType, Boolean)

Filters the set of completions to those that match the applicability text of the completion set and determines the best match.

(Inherited from CompletionSet)
GetHighlightedSpansInDisplayText(String)

Returns a list of spans (of character positions) that should be highlighted in the display text.

(Inherited from CompletionSet)
MatchCompletionList(IList<Completion>, CompletionMatchType, Boolean)

Matches the completion list.

(Inherited from CompletionSet)
Recalculate()

Recalculates the set of completions for this completion set.

(Inherited from CompletionSet)
SelectBestMatch()

Determines the best match in the completion set.

(Inherited from CompletionSet)
SelectBestMatch(CompletionMatchType, Boolean)

Redetermines the best matching completion in the completion set.

(Inherited from CompletionSet)

Events

SelectionStatusChanged

Occurs when the selection status has changed.

(Inherited from CompletionSet)

Applies to