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)
'Declaration Private Function CompareTo ( _ other As Object, _ comparer As IComparer _ ) As Integer Implements IStructuralComparable.CompareTo
- 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.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.