TransactionOptions.Inequality(TransactionOptions, TransactionOptions) TransactionOptions.Inequality(TransactionOptions, TransactionOptions) TransactionOptions.Inequality(TransactionOptions, TransactionOptions) TransactionOptions.Inequality(TransactionOptions, TransactionOptions) Operator

定義

傳回值,這個值表示兩個 TransactionOptions 執行個體是否不相等。Returns a value that indicates whether two TransactionOptions instances are not equal.

public:
 static bool operator !=(System::Transactions::TransactionOptions o1, System::Transactions::TransactionOptions o2);
public static bool operator != (System.Transactions.TransactionOptions o1, System.Transactions.TransactionOptions o2);
static member op_Inequality : System.Transactions.TransactionOptions * System.Transactions.TransactionOptions -> bool
Public Shared Operator != (o1 As TransactionOptions, o2 As TransactionOptions) As Boolean

參數

x
TransactionOptions TransactionOptions TransactionOptions TransactionOptions

在相等運算子左邊的 TransactionOptions 執行個體。The TransactionOptions instance that is to the left of the equality operator.

y
TransactionOptions TransactionOptions TransactionOptions TransactionOptions

在相等運算子右方的 TransactionOptions 執行個體。The TransactionOptions instance that is to the right of the equality operator.

傳回

如果 xy 不相等,則為 true;否則為 falsetrue if x and y are not equal; otherwise, false.

備註

這個運算子的對等方法是TransactionOptions.EqualsThe equivalent method for this operator is TransactionOptions.Equals.

適用於