OrdinalEvent.Compare Method (OrdinalEvent, OrdinalEvent)

 

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

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

public int Compare(
	OrdinalEvent x,
	OrdinalEvent y
)

Parameters

x
Type: Microsoft.VisualStudio.IntelliTrace.OrdinalEvent

The first instance to compare.

y
Type: Microsoft.VisualStudio.IntelliTrace.OrdinalEvent

The second instance to compare.

Return Value

Type: System.Int32

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

Return to top
Show: