Transaction.Equality(Transaction, Transaction) 运算符

定义

测试两个指定的 Transaction 实例是否相等。

public:
 static bool operator ==(System::Transactions::Transaction ^ x, System::Transactions::Transaction ^ y);
public static bool operator == (System.Transactions.Transaction? x, System.Transactions.Transaction? y);
public static bool operator == (System.Transactions.Transaction x, System.Transactions.Transaction y);
static member ( = ) : System.Transactions.Transaction * System.Transactions.Transaction -> bool
Public Shared Operator == (x As Transaction, y As Transaction) As Boolean

参数

x
Transaction

相等运算符左侧的 Transaction 实例。

y
Transaction

相等运算符右侧的 Transaction 实例。

返回

Boolean

如果 xy 相等,则为 true;否则为 false

注解

此运算符 Transaction.Equals的等效方法是 。

适用于