Partager via


CompletionIcon Class

Represents an icon used in the completion.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.Language.Intellisense.CompletionIcon

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

Syntax

'Declaration
Public Class CompletionIcon _
    Implements IComparable(Of CompletionIcon)
public class CompletionIcon : IComparable<CompletionIcon>
public ref class CompletionIcon : IComparable<CompletionIcon^>
type CompletionIcon =  
    class 
        interface IComparable<CompletionIcon>
    end
public class CompletionIcon implements IComparable<CompletionIcon>

The CompletionIcon type exposes the following members.

Constructors

  Name Description
Public method CompletionIcon() Initializes a new instance of CompletionIcon.
Public method CompletionIcon(ImageSource, String, String, Int32) Initializes a new instance of CompletionIcon.

Top

Properties

  Name Description
Public property AutomationId Gets or sets the automation ID.
Public property AutomationName Gets or sets the automation name.
Public property IconSource Gets or sets the icon source.
Public property Position Gets or sets the position.

Top

Methods

  Name Description
Public method CompareTo Compares the icon to another completion icon.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Language.Intellisense Namespace