Completion Class
Represents a completion item, including the icon, insertion text, and display text, in a CompletionSet.
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
Microsoft.VisualStudio.Language.Intellisense.Completion
Microsoft.VisualStudio.Language.Intellisense.Completion2
| Name | Description | |
|---|---|---|
![]() | Completion() | Initializes a new instance of Completion. |
![]() | Completion(String) | Initializes a new instance of Completion with the specified display text. |
![]() | Completion(String, String, String, ImageSource, String) | Initializes a new instance of Completion with the specified text and description. |
| Name | Description | |
|---|---|---|
![]() | Description | Gets a description that can be displayed together with the display text of the completion. |
![]() | DisplayText | Gets the text that is to be displayed by an IntelliSense presenter. |
![]() | IconAutomationText | Gets or sets the text to be used as the automation name for the icon when it is displayed. |
![]() | IconSource | Gets or sets an icon that could be used to describe the completion. |
![]() | InsertionText | Gets the text that is to be inserted into the buffer if this completion is committed. |
![]() | Properties | Gets the properties of the completion. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
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.


