Completion Class

 

Represents a completion item, including the icon, insertion text, and display text, in a CompletionSet.

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

System.Object
  Microsoft.VisualStudio.Language.Intellisense.Completion
    Microsoft.VisualStudio.Language.Intellisense.Completion2

public class Completion : IPropertyOwner

NameDescription
System_CAPS_pubmethodCompletion()

Initializes a new instance of Completion.

System_CAPS_pubmethodCompletion(String)

Initializes a new instance of Completion with the specified display text.

System_CAPS_pubmethodCompletion(String, String, String, ImageSource, String)

Initializes a new instance of Completion with the specified text and description.

NameDescription
System_CAPS_pubpropertyDescription

Gets a description that can be displayed together with the display text of the completion.

System_CAPS_pubpropertyDisplayText

Gets the text that is to be displayed by an IntelliSense presenter.

System_CAPS_pubpropertyIconAutomationText

Gets or sets the text to be used as the automation name for the icon when it is displayed.

System_CAPS_pubpropertyIconSource

Gets or sets an icon that could be used to describe the completion.

System_CAPS_pubpropertyInsertionText

Gets the text that is to be inserted into the buffer if this completion is committed.

System_CAPS_pubpropertyProperties

Gets the properties of the completion.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(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.

Return to top
Show: