共用方式為


SequenceNumber.LessThan(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的對等方法是 。

適用於