Bagikan melalui


SequenceNumber.Equality(SequenceNumber, SequenceNumber) Operator

Definisi

Membandingkan dua SequenceNumber instans untuk menentukan apakah instans tersebut sama.

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

Parameter

c1
SequenceNumber

Di SequenceNumber sisi kiri operator.

c2
SequenceNumber

Di SequenceNumber sisi kanan operator.

Mengembalikan

true jika kedua SequenceNumber instans sama; jika tidak, false.

Keterangan

Metode yang setara untuk operator ini adalah SequenceNumber.CompareTo.

Berlaku untuk