[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Determines whether the current collection object precedes, occurs in the same position as, or follows another object in the sort order.
Assembly: mscorlib (in mscorlib.dll)
- Type: System.Object
The object to compare with the current instance.
- Type: System.Collections.IComparer
An object that compares the current object and other.
Return ValueType: System.Int32
An integer that indicates the relationship of the current collection object to other, as shown in the following table.
The current instance precedes other.
The current instance and other are equal.
The current instance follows other.