SequenceNumber.LessThanOrEqual(SequenceNumber, SequenceNumber) Operatore

Definizione

Esegue un confronto logico tra i due parametri SequenceNumber per stabilire se il primo è minore o uguale al secondo.Performs a logical comparison of the two SequenceNumber parameters to determine whether the first is less than or equal to the second.

public:
 static bool operator <=(System::IO::Log::SequenceNumber c1, System::IO::Log::SequenceNumber c2);
public static bool operator <= (System.IO.Log.SequenceNumber c1, System.IO.Log.SequenceNumber c2);
static member ( <= ) : System.IO.Log.SequenceNumber * System.IO.Log.SequenceNumber -> bool
Public Shared Operator <= (c1 As SequenceNumber, c2 As SequenceNumber) As Boolean

Parametri

c1
SequenceNumber

Oggetto SequenceNumber a sinistra dell'operatore.The SequenceNumber on the left side of the operator.

c2
SequenceNumber

Oggetto SequenceNumber a destra dell'operatore.The SequenceNumber on the right side of the operator.

Restituisce

true se la prima istanza è minore o uguale alla seconda. In caso contrario, false.true if the first instance is less than or equal to the second instance, otherwise, false.

Commenti

Il metodo equivalente per questo operatore è CompareTo.The equivalent method for this operator is CompareTo.

Si applica a