CompletionSet Members

Include Protected Members
Include Inherited Members

Represents an IntelliSense completion list that is displayed in the current text view.

The CompletionSet type exposes the following members.

Constructors

  Name Description
Public method CompletionSet Initializes a new instance of the CompletionSet class.

Top

Methods

  Name Description
Public method Close Closes the completion list display.
Public method CompareItems Compares two strings for the specified number of characters.
Public method DecreaseFilterLevel Changes the level of the internal filter list and updates it, showing common items.
Public method Dismiss Called when the completion list is no longer needed.
Public method Dispose Deallocates any resources just before the CompletionSet object is destroyed.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetBestMatch Determines which item in the list is the best match for the text typed so far by the user.
Public method GetCompletionItemColor Gets the foreground and background colors for a selected item.
Public method GetCount Gets the number of items that can be displayed in the completion list.
Public method GetDescriptionText Gets a description for the specified item in the completion list.
Public method GetDisplayText Gets the text and image index to display in the completion list for the specified item.
Public method GetFilterLevel Gets the current filter level.
Public method GetFlags Gets a set of flags specifying the behavior of the completion list.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetImageList Returns the image list to use for the glyphs in the completion list.
Public method GetInitialExtent Gets the initial extent of the text to be completed.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IncreaseFilterLevel Show in the completion list the members of the specified type.
Public method Init Initializes the completion set object.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method OnAutoComplete Called after completion text has been committed to the source file.
Public method OnCommit Gets the text to be inserted into the source file if the specified character is a commit character.
Public method OnCommitComplete Called after the text has been committed.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property Declarations Gets or sets the Declarations object this completion set uses.
Public property IsCommitted Gets whether any text has been committed to the source file.
Public property IsDisplayed Gets whether the completion list is currently displayed.
Public property OnCommitText Gets the text that is to be committed to the source file.

Top

See Also

Reference

CompletionSet Class

Microsoft.VisualStudio.Package Namespace