OrdinalEvent.CompareTo Method

Definition

Overloads

CompareTo(OrdinalEvent)

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

CompareTo(Object)

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

CompareTo(OrdinalEvent)

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

public:
 virtual int CompareTo(Microsoft::VisualStudio::IntelliTrace::OrdinalEvent ^ other);
public int CompareTo (Microsoft.VisualStudio.IntelliTrace.OrdinalEvent other);
abstract member CompareTo : Microsoft.VisualStudio.IntelliTrace.OrdinalEvent -> int
override this.CompareTo : Microsoft.VisualStudio.IntelliTrace.OrdinalEvent -> int
Public Function CompareTo (other As OrdinalEvent) As Integer

Parameters

other
OrdinalEvent

An object to compare with this instance.

Returns

A value that indicates the relative order of the objects being compared. If this instance is less than other, then a value less than zero is returned. If this instance is equal to other, then a value of zero is returned. If this instance is greater than other, then a value greater than zero is returned.

Implements

Applies to

CompareTo(Object)

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

public:
 virtual int CompareTo(System::Object ^ obj);
public:
 int CompareTo(Platform::Object ^ obj);
int CompareTo(winrt::Windows::Foundation::IInspectable const & obj);
public int CompareTo (object obj);
abstract member CompareTo : obj -> int
override this.CompareTo : obj -> int
Public Function CompareTo (obj As Object) As Integer

Parameters

obj
Object

An object to compare with this instance.

Returns

A value that indicates the relative order of the objects being compared. If this instance is less than obj, then a value less than zero is returned. If this instance is equal to obj, then a value of zero is returned. If this instance is greater than obj, then a value greater than zero is returned.

Implements

Applies to