TransactionOptions.Equality(TransactionOptions, TransactionOptions) 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
測試兩個指定的 TransactionOptions 執行個體是否相等。
public:
static bool operator ==(System::Transactions::TransactionOptions x, System::Transactions::TransactionOptions y);
public:
static bool operator ==(System::Transactions::TransactionOptions o1, System::Transactions::TransactionOptions o2);
public static bool operator == (System.Transactions.TransactionOptions x, System.Transactions.TransactionOptions y);
public static bool operator == (System.Transactions.TransactionOptions o1, System.Transactions.TransactionOptions o2);
static member ( = ) : System.Transactions.TransactionOptions * System.Transactions.TransactionOptions -> bool
static member ( = ) : System.Transactions.TransactionOptions * System.Transactions.TransactionOptions -> bool
Public Shared Operator == (x As TransactionOptions, y As TransactionOptions) As Boolean
Public Shared Operator == (o1 As TransactionOptions, o2 As TransactionOptions) As Boolean
參數
在相等運算子左邊的 TransactionOptions 執行個體。
在相等運算子右方的 TransactionOptions 執行個體。
傳回
如果 x
和 y
相等,則為 true
;否則為 false
。
備註
這個運算子 TransactionOptions.Equals 的對等方法是 。