다음을 통해 공유


Completion Class

Definition

Represents an item in a completion set.

public ref class Completion : Microsoft::VisualStudio::Utilities::IPropertyOwner
[Windows::Foundation::Metadata::WebHostHidden]
class Completion : Microsoft::VisualStudio::Utilities::IPropertyOwner
public class Completion : Microsoft.VisualStudio.Utilities.IPropertyOwner
type Completion = class
    interface IPropertyOwner
Public Class Completion
Implements IPropertyOwner
Inheritance
Completion
Derived
Implements

Examples

For an example of this class, see Walkthrough: Displaying Statement Completion.

Constructors

Completion()

Initializes a new instance of Completion.

Completion(String, String, String, ImageSource, String)

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

Completion(String)

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

Properties

Description

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

DisplayText

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

IconAutomationText

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

IconSource

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

InsertionText

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

Properties

Gets the properties of the completion.

Applies to