OrdinalEvent.CompareTo Method (Object)

Compares the current instance with another instance and returns an integer that indicates whether the current instance comes before, follows, or occurs in the same position in the sort order as the other instance.

Namespace:  Microsoft.VisualStudio.IntelliTrace
Assembly:  Microsoft.IntelliTrace.11.0.0 (in Microsoft.IntelliTrace.11.0.0.dll)

Syntax

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

Parameters

  • obj
    Type: Object

    An object to compare with this instance.

Return Value

Type: Int32
A value that indicates the relative order of the objects that are being compared.

Implements

IComparable.CompareTo(Object)

.NET Framework Security

See Also

Reference

OrdinalEvent Class

CompareTo Overload

Microsoft.VisualStudio.IntelliTrace Namespace