SequenceNumber.CompareTo(SequenceNumber) SequenceNumber.CompareTo(SequenceNumber) SequenceNumber.CompareTo(SequenceNumber) SequenceNumber.CompareTo(SequenceNumber) Method

Definición

Compara este número de secuencia con un objeto especificado.Compares this sequence number with a specified object.

public:
 virtual int CompareTo(System::IO::Log::SequenceNumber other);
public int CompareTo (System.IO.Log.SequenceNumber other);
abstract member CompareTo : System.IO.Log.SequenceNumber -> int
override this.CompareTo : System.IO.Log.SequenceNumber -> int
Public Function CompareTo (other As SequenceNumber) As Integer

Parámetros

other
SequenceNumber SequenceNumber SequenceNumber SequenceNumber

Un objeto que se evalúa como el número de secuencia actual.An object that evaluates to the current sequence number.

Devoluciones

Entero de 32 bits con signo que indica la relación léxica que existe entre los dos términos de una comparación.A 32-bit signed integer indicating the lexical relationship between the two comparands.

ValorValue CondiciónCondition
Menor que ceroLess than zero Esta instancia es menor que other.This instance is less than other.
CeroZero Esta instancia es igual a other.This instance is equal to other.
Mayor que ceroGreater than zero Esta instancia es mayor que other.This instance is greater than other.

Implementaciones

Se aplica a