TransactionOptions.Equality(TransactionOptions, TransactionOptions) 运算符
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
测试两个指定的 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
参数
相等运算符左侧的 TransactionOptions 实例。
相等运算符右侧的 TransactionOptions 实例。
返回
如果 x
和 y
相等,则为 true
;否则为 false
。
注解
此运算符 TransactionOptions.Equals的等效方法是 。