Redigeeri

Jagamisviis:


SequenceNumber.LessThanOrEqual(SequenceNumber, SequenceNumber) Operator

Definition

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

Parameters

c1
SequenceNumber

The SequenceNumber on the left side of the operator.

c2
SequenceNumber

The SequenceNumber on the right side of the operator.

Returns

true if the first instance is less than or equal to the second instance, otherwise, false.

Remarks

The equivalent method for this operator is CompareTo.

Applies to