Partager via


CompletionIcon.CompareTo Method

Compares the icon to another completion icon.

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

Syntax

'Declaration
Public Function CompareTo ( _
    obj As CompletionIcon _
) As Integer
public int CompareTo(
    CompletionIcon obj
)
public:
virtual int CompareTo(
    CompletionIcon^ obj
) sealed
abstract CompareTo : 
        obj:CompletionIcon -> int  
override CompareTo : 
        obj:CompletionIcon -> int
public final function CompareTo(
    obj : CompletionIcon
) : int

Parameters

Return Value

Type: Int32
true if the icons are the same, otherwise false.

Implements

IComparable.CompareTo(UTP)

.NET Framework Security

See Also

Reference

CompletionIcon Class

Microsoft.VisualStudio.Language.Intellisense Namespace