CompletionSet Class
Represents a set of completions.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Language.Intellisense.CompletionSet
Namespace: Microsoft.VisualStudio.Language.Intellisense
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
Syntax
'Declaration
Public Class CompletionSet
public class CompletionSet
public ref class CompletionSet
type CompletionSet = class end
public class CompletionSet
The CompletionSet type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CompletionSet() | Initializes a new instance of CompletionSet. | |
CompletionSet(String, String, ITrackingSpan, IEnumerable<Completion>, IEnumerable<Completion>) | Initializes a new instance of CompletionSet with the specified name and text. |
Top
Properties
Name | Description | |
---|---|---|
ApplicableTo | Gets or sets the text tracking span to which this completion applies. | |
CompletionBuilders | Gets or sets the list of completion builders that are part of this completion set. | |
Completions | Gets or sets the list of completions that are part of this completion set. | |
DisplayName | Gets or sets the localized name of this completion set. | |
Moniker | Gets the unique, non-localized identifier for the completion set. | |
SelectionStatus | Gets or sets the CompletionSelectionStatus. | |
WritableCompletionBuilders | Gets the collection of writable completion builders. | |
WritableCompletions | Gets the collection of writable completions. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Filter() | Restricts the set of completions to those that match the applicability text of the completion set, and then determines the best match. | |
Filter(CompletionMatchType, Boolean) | Restricts the set of completions to those that match the applicability text of the completion set, and then determines the best match. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MatchCompletionList | Matches the completion list. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Recalculate | Recalculates the set of completions for this completion set. | |
SelectBestMatch() | Determines the best match in the completion set. | |
SelectBestMatch(CompletionMatchType, Boolean) | Determines the best match in the completion set for the given match type. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
SelectionStatusChanged | Raised when the selection status has changed. |
Top
Examples
For an example of this class, see Walkthrough: Displaying Statement Completion.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.