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.IntelliTrace.11.0.0 (in Microsoft.IntelliTrace.11.0.0.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: Int32
A value that indicates the relative order of the objects that are being compared.

Implements

IComparable.CompareTo(UTP)

.NET Framework Security

See Also

Reference

OrdinalEvent Class

CompareTo Overload

Microsoft.VisualStudio.IntelliTrace Namespace