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
obj
Type: Microsoft.VisualStudio.Language.Intellisense.CompletionIconThe other completion icon.
Return Value
Type: Int32
true if the icons are the same, otherwise false.
Implements
IComparable.CompareTo(UTP)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.