IComparable Methods
Collapse the table of content
Expand the table of content

IComparable Methods

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The IComparable type exposes the following members.

Public method CompareTo Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

© 2017 Microsoft