OpCode.Inequality(OpCode, OpCode) OpCode.Inequality(OpCode, OpCode) OpCode.Inequality(OpCode, OpCode) OpCode.Inequality(OpCode, OpCode) Operator

定義

指出兩個 OpCode 結構是否不相等。Indicates whether two OpCode structures are not equal.

public:
 static bool operator !=(System::Reflection::Emit::OpCode a, System::Reflection::Emit::OpCode b);
public static bool operator != (System.Reflection.Emit.OpCode a, System.Reflection.Emit.OpCode b);
static member op_Inequality : System.Reflection.Emit.OpCode * System.Reflection.Emit.OpCode -> bool
Public Shared Operator != (a As OpCode, b As OpCode) As Boolean

參數

a
OpCode OpCode OpCode OpCode

要和 b 比較的 OpCodeThe OpCode to compare to b.

b
OpCode OpCode OpCode OpCode

要和 a 比較的 OpCodeThe OpCode to compare to a.

傳回

如果 true 不等於 a,則為 b,否則為 falsetrue if a is not equal to b; otherwise, false.

備註

這個運算子的對等方法是OpCode.Equals(OpCode)The equivalent method for this operator is OpCode.Equals(OpCode).

適用於