Share via


OrdinalEvent.CompareTo Method (OrdinalEvent)

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 sort position as the other instance.

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

Syntax

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

Parameters

Return Value

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

Implements

IComparable<T>.CompareTo(T)

.NET Framework Security

See Also

Reference

OrdinalEvent Class

CompareTo Overload

Microsoft.VisualStudio.IntelliTrace Namespace