共用方式為


Completion2 Class

Definition

Completion2 adds an additional context icon to the completion.

public ref class Completion2 : Microsoft::VisualStudio::Language::Intellisense::Completion
[Windows::Foundation::Metadata::WebHostHidden]
class Completion2 : Microsoft::VisualStudio::Language::Intellisense::Completion
public class Completion2 : Microsoft.VisualStudio.Language.Intellisense.Completion
type Completion2 = class
    inherit Completion
Public Class Completion2
Inherits Completion
Inheritance
Completion2
Derived

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.

Constructors

Completion2()

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

Completion2(String, String, String, ImageSource, String)

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

Properties

AttributeIcons

Gets or sets the additional icons displayed for this completion item.

Description

Gets/Sets a description that could be displayed with the display text of the completion.

(Inherited from Completion)
DisplayText

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

(Inherited from Completion)
IconAutomationText

Gets/Sets the text to be used as the automation name for the icon when it's displayed.

(Inherited from Completion)
IconSource

Gets/Sets an icon that could be used to describe the completion.

(Inherited from Completion)
InsertionText

Gets/Sets 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)

Applies to