Partager via


CompletionIcon Constructors

Definition

Overloads

CompletionIcon()

Initializes a new instance of CompletionIcon.

CompletionIcon(ImageSource, String, String, Int32)

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

CompletionIcon()

Initializes a new instance of CompletionIcon.

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

Applies to

CompletionIcon(ImageSource, String, String, Int32)

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

public CompletionIcon (System.Windows.Media.ImageSource imageSource, string automationName, string automationId, int position = 0);
new Microsoft.VisualStudio.Language.Intellisense.CompletionIcon : System.Windows.Media.ImageSource * string * string * int -> Microsoft.VisualStudio.Language.Intellisense.CompletionIcon
Public Sub New (imageSource As ImageSource, automationName As String, automationId As String, Optional position As Integer = 0)

Parameters

imageSource
ImageSource

The icon to describe 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