編輯

共用方式為


TransactionOptions.Equality(TransactionOptions, TransactionOptions) Operator

Definition

Tests whether two specified TransactionOptions instances are equivalent.

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

Parameters

x
TransactionOptions

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

y
TransactionOptions

The TransactionOptions 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 TransactionOptions.Equals.

Applies to