次の方法で共有


Completion3 Constructors

Definition

Overloads

Completion3()

Initializes a new instance of Completion3.

Completion3(String, String, String, ImageMoniker, String)

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

Completion3(String, String, String, ImageMoniker, String, IEnumerable<CompletionIcon2>)

Initializes a new instance of Completion3 with the specified text, description, and icon.

Completion3()

Initializes a new instance of Completion3.

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

Applies to

Completion3(String, String, String, ImageMoniker, String)

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

public:
 Completion3(System::String ^ displayText, System::String ^ insertionText, System::String ^ description, Microsoft::VisualStudio::Imaging::Interop::ImageMoniker iconMoniker, System::String ^ iconAutomationText);
 Completion3(std::wstring const & displayText, std::wstring const & insertionText, std::wstring const & description, Microsoft::VisualStudio::Imaging::Interop::ImageMoniker iconMoniker, std::wstring const & iconAutomationText);
public Completion3 (string displayText, string insertionText, string description, Microsoft.VisualStudio.Imaging.Interop.ImageMoniker iconMoniker, string iconAutomationText);
new Microsoft.VisualStudio.Language.Intellisense.Completion3 : string * string * string * Microsoft.VisualStudio.Imaging.Interop.ImageMoniker * string -> Microsoft.VisualStudio.Language.Intellisense.Completion3
Public Sub New (displayText As String, insertionText As String, description As String, iconMoniker As ImageMoniker, 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.

iconMoniker
ImageMoniker

The icon to describe the completion item.

iconAutomationText
String

The automation name for the icon.

Applies to

Completion3(String, String, String, ImageMoniker, String, IEnumerable<CompletionIcon2>)

Initializes a new instance of Completion3 with the specified text, description, and icon.

public:
 Completion3(System::String ^ displayText, System::String ^ insertionText, System::String ^ description, Microsoft::VisualStudio::Imaging::Interop::ImageMoniker iconMoniker, System::String ^ iconAutomationText, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Language::Intellisense::CompletionIcon2 ^> ^ attributeIcons);
public Completion3 (string displayText, string insertionText, string description, Microsoft.VisualStudio.Imaging.Interop.ImageMoniker iconMoniker, string iconAutomationText, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Language.Intellisense.CompletionIcon2> attributeIcons);
new Microsoft.VisualStudio.Language.Intellisense.Completion3 : string * string * string * Microsoft.VisualStudio.Imaging.Interop.ImageMoniker * string * seq<Microsoft.VisualStudio.Language.Intellisense.CompletionIcon2> -> Microsoft.VisualStudio.Language.Intellisense.Completion3
Public Sub New (displayText As String, insertionText As String, description As String, iconMoniker As ImageMoniker, iconAutomationText As String, attributeIcons As IEnumerable(Of CompletionIcon2))

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.

iconMoniker
ImageMoniker

The icon to describe the completion item.

iconAutomationText
String

The automation name for the icon.

attributeIcons
IEnumerable<CompletionIcon2>

Additional icons shown to the right of the DisplayText.

Applies to