共用方式為


SequenceNumber.GreaterThan(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

傳回

如果第一個執行個體大於第二執行個體,則為 true,否則為 false

備註

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

適用於