CompletionIcon2 Class

Definition

Important

This API is not CLS-compliant.

CompletionIcon2 uses ImageMonikers instead of ImageSources to reference icons.

public ref class CompletionIcon2 : Microsoft::VisualStudio::Language::Intellisense::CompletionIcon
[Windows::Foundation::Metadata::WebHostHidden]
class CompletionIcon2 : Microsoft::VisualStudio::Language::Intellisense::CompletionIcon
[System.CLSCompliant(false)]
public class CompletionIcon2 : Microsoft.VisualStudio.Language.Intellisense.CompletionIcon
public class CompletionIcon2 : Microsoft.VisualStudio.Language.Intellisense.CompletionIcon
[<System.CLSCompliant(false)>]
type CompletionIcon2 = class
    inherit CompletionIcon
type CompletionIcon2 = class
    inherit CompletionIcon
Public Class CompletionIcon2
Inherits CompletionIcon
Inheritance
CompletionIcon2
Attributes

Constructors

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.

Properties

AutomationId

Gets or sets the automation ID.

(Inherited from CompletionIcon)
AutomationName

Gets or sets the automation name.

(Inherited from CompletionIcon)
IconMoniker

Gets or sets the moniker used to define a multi-resolution image.

IconSource

This property is not supported by CompletionIcon2 and will always return null. To get the current icon use IconMoniker.

Position

Gets or sets the position.

(Inherited from CompletionIcon)

Methods

CompareTo(CompletionIcon)

Compares the icon to another completion icon.

(Inherited from CompletionIcon)

Applies to