FieldToken.Inequality(FieldToken, FieldToken) 运算符

定义

指示两个 FieldToken 结构是否不相等。Indicates whether two FieldToken structures are not equal.

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

参数

a
FieldToken

要与 b 进行比较的 FieldTokenThe FieldToken to compare to b.

b
FieldToken

要与 a 进行比较的 FieldTokenThe FieldToken to compare to a.

返回

Boolean

如果 true 不等于 a,则为 b;否则为 falsetrue if a is not equal to b; otherwise, false.

注解

此运算符的等效方法为 FieldToken.Equals(FieldToken)The equivalent method for this operator is FieldToken.Equals(FieldToken).

适用于