Rediger

Del via


Transaction.Equality(Transaction, Transaction) Operator

Definition

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);
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

Parameters

x
Transaction

The Transaction instance that is to the left of the equality operator.

y
Transaction

The Transaction instance that is to the right of the equality operator.

Returns

true if x and y are equal; otherwise, false.

Remarks

The equivalent method for this operator is Transaction.Equals.

Applies to