PropertyToken.Inequality(PropertyToken, PropertyToken) 运算符

定义

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

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

参数

a
PropertyToken

要与 b 进行比较的 PropertyTokenThe PropertyToken to compare to b.

b
PropertyToken

要与 a 进行比较的 PropertyTokenThe PropertyToken to compare to a.

返回

Boolean

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

注解

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

适用于