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的等效方法是 。

适用于