TransactionOptions.Equality(TransactionOptions, TransactionOptions) Operátor

Definice

Testuje, jestli jsou ekvivalentní dvě zadané TransactionOptions instance.

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

Parametry

xo1
TransactionOptions

Instance TransactionOptions , která je vlevo od operátoru rovnosti.

yo2
TransactionOptions

Instance TransactionOptions , která je napravo od operátoru rovnosti.

Návraty

Boolean

true je-li x a y jsou rovny; v opačném případě false.

Poznámky

Ekvivalentní metoda tohoto operátoru je TransactionOptions.Equals.

Platí pro