SequenceNumber.CompareTo Method (SequenceNumber)

 

Compares this sequence number with a specified object.

Namespace:   System.IO.Log
Assembly:  System.IO.Log (in System.IO.Log.dll)

public int CompareTo(
	SequenceNumber other
)

Parameters

other
Type: System.IO.Log.SequenceNumber

An object that evaluates to the current sequence number.

Return Value

Type: System.Int32

A 32-bit signed integer indicating the lexical relationship between the two comparands.

Value

Condition

Less than zero

This instance is less than other.

Zero

This instance is equal to other.

Greater than zero

This instance is greater than other.

.NET Framework
Available since 3.0
Return to top
Show: