TransactionOptions.Equality(TransactionOptions, TransactionOptions) 运算符

定义

测试两个指定的 TransactionOptions 实例是否相等。

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

参数

xo1
TransactionOptions

相等运算符左侧的 TransactionOptions 实例。

yo2
TransactionOptions

相等运算符右侧的 TransactionOptions 实例。

返回

Boolean

如果 xy 相等,则为 true;否则为 false

注解

此运算符 TransactionOptions.Equals的等效方法是 。

适用于