ImageElement Constructors

Definition

Overloads

ImageElement(ImageId)

Creates a new instance of an image element.

ImageElement(ImageId, String)

Creates a new instance of an image element.

ImageElement(ImageId)

Creates a new instance of an image element.

public:
 ImageElement(Microsoft::VisualStudio::Core::Imaging::ImageId imageId);
public ImageElement (Microsoft.VisualStudio.Core.Imaging.ImageId imageId);
new Microsoft.VisualStudio.Text.Adornments.ImageElement : Microsoft.VisualStudio.Core.Imaging.ImageId -> Microsoft.VisualStudio.Text.Adornments.ImageElement
Public Sub New (imageId As ImageId)

Parameters

imageId
ImageId

A unique identifier for an image

Applies to

ImageElement(ImageId, String)

Creates a new instance of an image element.

public:
 ImageElement(Microsoft::VisualStudio::Core::Imaging::ImageId imageId, System::String ^ automationName);
public ImageElement (Microsoft.VisualStudio.Core.Imaging.ImageId imageId, string automationName);
new Microsoft.VisualStudio.Text.Adornments.ImageElement : Microsoft.VisualStudio.Core.Imaging.ImageId * string -> Microsoft.VisualStudio.Text.Adornments.ImageElement
Public Sub New (imageId As ImageId, automationName As String)

Parameters

imageId
ImageId

A unique identifier for an image

automationName
String

Localized description of the image

Applies to