Udostępnij za pośrednictwem


CompletionIcon2 Constructors

Definition

Overloads

CompletionIcon2()

Initializes a new instance of CompletionIcon2.

CompletionIcon2(ImageMoniker, String, String, Int32)

Initializes a new instance of CompletionIcon2 with the given image, automation values, and position.

CompletionIcon2()

Initializes a new instance of CompletionIcon2.

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

Applies to

CompletionIcon2(ImageMoniker, String, String, Int32)

Initializes a new instance of CompletionIcon2 with the given image, automation values, and position.

 CompletionIcon2(Microsoft::VisualStudio::Imaging::Interop::ImageMoniker imageMoniker, std::wstring const & automationName, std::wstring const & automationId, int position = 0);
public CompletionIcon2 (Microsoft.VisualStudio.Imaging.Interop.ImageMoniker imageMoniker, string automationName, string automationId, int position = 0);
new Microsoft.VisualStudio.Language.Intellisense.CompletionIcon2 : Microsoft.VisualStudio.Imaging.Interop.ImageMoniker * string * string * int -> Microsoft.VisualStudio.Language.Intellisense.CompletionIcon2
Public Sub New (imageMoniker As ImageMoniker, automationName As String, automationId As String, Optional position As Integer = 0)

Parameters

imageMoniker
ImageMoniker

The moniker for the icon that describes the completion item.

automationName
String

The automation name for the icon.

automationId
String

The automation id for the icon.

position
Int32

The display position of the icon. If no value is provided this will be zero.

Applies to