ImageElement Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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