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
'宣告
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
- other
Type: Microsoft.VisualStudio.IntelliTrace.OrdinalEvent
An object to compare with this instance.
Return Value
Type: System.Int32
A value that indicates the relative order of the objects that are being compared.
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.