OrdinalEvent.CompareTo Method (OrdinalEvent)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Compares the order of an event to the current instance.
Namespace: Microsoft.VisualStudio.TraceLog
Assembly: Microsoft.VisualStudio.TraceLog (in Microsoft.VisualStudio.TraceLog.dll)
Syntax
'Declaration
Public Function CompareTo ( _
other As OrdinalEvent _
) As Integer
'Usage
Dim instance As OrdinalEvent
Dim other As OrdinalEvent
Dim returnValue As Integer
returnValue = instance.CompareTo(other)
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.TraceLog.OrdinalEvent
An object to compare with this instance
Return Value
Type: System.Int32
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
.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.