共用方式為


SequenceNumber.Equality(SequenceNumber, SequenceNumber) 運算子

定義

比較兩個 SequenceNumber 執行個體,判斷它們是否相等。

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

參數

c1
SequenceNumber

在運算子左方的 SequenceNumber

c2
SequenceNumber

在運算子右方的 SequenceNumber

傳回

如果兩個 SequenceNumber 執行個體相等,則為 true,否則為 false

備註

這個運算子 SequenceNumber.CompareTo的對等方法是 。

適用於