MethodBase.Inequality(MethodBase, MethodBase) 运算符

定义

指示两个 MethodBase 对象是否不相等。Indicates whether two MethodBase objects are not equal.

public:
 static bool operator !=(System::Reflection::MethodBase ^ left, System::Reflection::MethodBase ^ right);
public static bool operator != (System.Reflection.MethodBase left, System.Reflection.MethodBase right);
static member op_Inequality : System.Reflection.MethodBase * System.Reflection.MethodBase -> bool
Public Shared Operator != (left As MethodBase, right As MethodBase) As Boolean

参数

left
MethodBase

要比较的第一个对象。The first object to compare.

right
MethodBase

要比较的第二个对象。The second object to compare.

返回

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

适用于