Compartilhar via


TransactionOptions.Equality(TransactionOptions, TransactionOptions) Operador

Definição

Testa se duas instâncias de TransactionOptions especificadas são equivalentes.

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

Parâmetros

xo1
TransactionOptions

A instância de TransactionOptions que está à esquerda do operador de igualdade.

yo2
TransactionOptions

A instância de TransactionOptions que está à direita do operador de igualdade.

Retornos

Boolean

true se x e y forem iguais; caso contrário, false.

Comentários

O método equivalente para esse operador é TransactionOptions.Equals.

Aplica-se a