共用方式為


SequenceNumber.Inequality(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 op_Inequality : 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 執行個體都不相等,則為 SequenceNumber,否則為 false

備註

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

適用於