Completion2 Class
Adds an additional context icon to the completion.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.Language.Intellisense.Completion
Microsoft.VisualStudio.Language.Intellisense.Completion2
Namespace: Microsoft.VisualStudio.Language.Intellisense
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
Syntax
'Declaration
Public Class Completion2 _
Inherits Completion
public class Completion2 : Completion
public ref class Completion2 : public Completion
type Completion2 =
class
inherit Completion
end
public class Completion2 extends Completion
The Completion2 type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Completion2() | Initializes a new instance of Completion2. | |
Completion2(String, String, String, ImageSource, String) | Initializes a new instance of Completion2. | |
Completion2(String, String, String, ImageSource, String, IEnumerable<CompletionIcon>) | Initializes a new instance of Completion2 with the specified text and icon. |
Top
Properties
Name | Description | |
---|---|---|
AttributeIcons | ||
Description | Gets a description that can be displayed together with the display text of the completion. (Inherited from Completion.) | |
DisplayText | Gets the text that is to be displayed by an IntelliSense presenter. (Inherited from Completion.) | |
IconAutomationText | Gets or sets the text to be used as the automation name for the icon when it is displayed. (Inherited from Completion.) | |
IconSource | Gets or sets an icon that could be used to describe the completion. (Inherited from Completion.) | |
InsertionText | Gets the text that is to be inserted into the buffer if this completion is committed. (Inherited from Completion.) | |
Properties | Gets the properties of the completion. (Inherited from Completion.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
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 the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
Introduced in Visual Studio 2013 Update 2. To reference the correct assembly version, see Referencing Assemblies Delivered in the Visual Studio 2013 SDK Update 2.
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.