Transaction.Equality(Transaction, Transaction) Transaction.Equality(Transaction, Transaction) Transaction.Equality(Transaction, Transaction) Transaction.Equality(Transaction, Transaction) Operator

定義

指定した 2 つの Transaction インスタンスが等価であるかどうかをテストします。Tests whether two specified Transaction instances are equivalent.

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 Transaction Transaction

等値演算子の左側に表示される Transaction インスタンス。The Transaction instance that is to the left of the equality operator.

y
Transaction Transaction Transaction Transaction

等値演算子の右側に表示される Transaction インスタンス。The Transaction instance that is to the right of the equality operator.

戻り値

truex が等しい場合は y。それ以外の場合は falsetrue if x and y are equal; otherwise, false.

注釈

この演算子の同等のメソッドはTransaction.Equalsです。The equivalent method for this operator is Transaction.Equals.

適用対象