TransactionOptions.Inequality(TransactionOptions, TransactionOptions) 操作员

定义

返回一个值,该值指示两个 TransactionOptions 实例是否不相等。

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 op_Inequality : System.Transactions.TransactionOptions * System.Transactions.TransactionOptions -> bool
Public Shared Operator != (x As TransactionOptions, y As TransactionOptions) As Boolean

参数

x
TransactionOptions

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

y
TransactionOptions

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

返回

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

注解

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

适用于