CompletionSet Class

Represents a set of completions.

Object
  Microsoft.VisualStudio.Language.Intellisense.CompletionSet

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

public class CompletionSet

The CompletionSet type exposes the following members.

  NameDescription
Public methodCompletionSet()Initializes a new instance of CompletionSet.
Public methodCompletionSet(String, String, ITrackingSpan, IEnumerable<Completion>, IEnumerable<Completion>)Initializes a new instance of CompletionSet with the specified name and text.
Top

  NameDescription
Public propertyApplicableToGets or sets the text tracking span to which this completion applies.
Public propertyCompletionBuildersGets or sets the list of completion builders that are part of this completion set.
Public propertyCompletionsGets or sets the list of completions that are part of this completion set.
Public propertyDisplayNameGets or sets the localized name of this completion set.
Public propertyMonikerGets the unique, non-localized identifier for the completion set.
Public propertySelectionStatusGets or sets the CompletionSelectionStatus.
Protected propertyWritableCompletionBuildersGets the collection of writable completion builders.
Protected propertyWritableCompletionsGets the collection of writable completions.
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodFilter()Restricts the set of completions to those that match the applicability text of the completion set, and then determines the best match.
Protected methodFilter(CompletionMatchType, Boolean)Restricts the set of completions to those that match the applicability text of the completion set, and then determines the best match.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMatchCompletionListMatches the completion list.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRecalculateRecalculates the set of completions for this completion set.
Public methodSelectBestMatch()Determines the best match in the completion set.
Protected methodSelectBestMatch(CompletionMatchType, Boolean)Determines the best match in the completion set for the given match type.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public eventSelectionStatusChangedRaised when the selection status has changed.
Top

For an example of this class, see Walkthrough: Displaying Statement Completion.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft