共用方式為


TransactionOptions.Equality(TransactionOptions, TransactionOptions) 運算子

定義

測試兩個指定的 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

參數

xo1
TransactionOptions

在相等運算子左邊的 TransactionOptions 執行個體。

yo2
TransactionOptions

在相等運算子右方的 TransactionOptions 執行個體。

傳回

Boolean

如果 xy 相等,則為 true;否則為 false

備註

這個運算子 TransactionOptions.Equals 的對等方法是 。

適用於