次の方法で共有


Completion2 Constructors

Definition

Overloads

Completion2()

Initializes a new instance of Completion2.

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

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

Completion2(String, String, String, ImageSource, String, IEnumerable<CompletionIcon>)

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

Completion2()

Initializes a new instance of Completion2.

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

Applies to

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

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

public:
 Completion2(System::String ^ displayText, System::String ^ insertionText, System::String ^ description, System::Windows::Media::ImageSource ^ iconSource, System::String ^ iconAutomationText);
public Completion2 (string displayText, string insertionText, string description, System.Windows.Media.ImageSource iconSource, string iconAutomationText);
new Microsoft.VisualStudio.Language.Intellisense.Completion2 : string * string * string * System.Windows.Media.ImageSource * string -> Microsoft.VisualStudio.Language.Intellisense.Completion2
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

Completion2(String, String, String, ImageSource, String, IEnumerable<CompletionIcon>)

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

public:
 Completion2(System::String ^ displayText, System::String ^ insertionText, System::String ^ description, System::Windows::Media::ImageSource ^ iconSource, System::String ^ iconAutomationText, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Language::Intellisense::CompletionIcon ^> ^ attributeIcons);
public Completion2 (string displayText, string insertionText, string description, System.Windows.Media.ImageSource iconSource, string iconAutomationText, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Language.Intellisense.CompletionIcon> attributeIcons);
new Microsoft.VisualStudio.Language.Intellisense.Completion2 : string * string * string * System.Windows.Media.ImageSource * string * seq<Microsoft.VisualStudio.Language.Intellisense.CompletionIcon> -> Microsoft.VisualStudio.Language.Intellisense.Completion2
Public Sub New (displayText As String, insertionText As String, description As String, iconSource As ImageSource, iconAutomationText As String, attributeIcons As IEnumerable(Of CompletionIcon))

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.

attributeIcons
IEnumerable<CompletionIcon>

Additional icons shown to the right of the DisplayText.

Applies to