Udostępnij za pośrednictwem


Completion Constructors

Definition

Overloads

Completion()

Initializes a new instance of Completion.

Completion(String)

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

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

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

Completion()

Initializes a new instance of Completion.

public:
 Completion();
public:
 Completion();
 Completion();
public Completion ();
Public Sub New ()

Applies to

Completion(String)

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

public:
 Completion(System::String ^ displayText);
public:
 Completion(Platform::String ^ displayText);
 Completion(std::wstring const & displayText);
public Completion (string displayText);
new Microsoft.VisualStudio.Language.Intellisense.Completion : string -> Microsoft.VisualStudio.Language.Intellisense.Completion
Public Sub New (displayText As String)

Parameters

displayText
String

The text that is to be displayed by an IntelliSense presenter.

Applies to

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

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

public:
 Completion(System::String ^ displayText, System::String ^ insertionText, System::String ^ description, System::Windows::Media::ImageSource ^ iconSource, System::String ^ iconAutomationText);
public Completion (string displayText, string insertionText, string description, System.Windows.Media.ImageSource iconSource, string iconAutomationText);
new Microsoft.VisualStudio.Language.Intellisense.Completion : string * string * string * System.Windows.Media.ImageSource * string -> Microsoft.VisualStudio.Language.Intellisense.Completion
Public Sub New (displayText As String, insertionText As String, description As String, iconSource As ImageSource, iconAutomationText As String)

Parameters

displayText
String

The text that is to be displayed by an IntelliSense presenter.

insertionText
String

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

description
String

A description that could be displayed with the display text of the completion.

iconSource
ImageSource

The icon to describe the completion item.

iconAutomationText
String

The automation name for the icon.

Applies to