次の方法で共有


Completion4 Constructors

Definition

Overloads

Completion4()

Initializes a new instance of Completion4.

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

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

Completion4()

Initializes a new instance of Completion4.

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

Applies to

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

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

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

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.

suffix
String

Additional text to be shown to the right of the DisplayText.

Applies to