MethodInfo.Inequality(MethodInfo, MethodInfo) MethodInfo.Inequality(MethodInfo, MethodInfo) MethodInfo.Inequality(MethodInfo, MethodInfo) MethodInfo.Inequality(MethodInfo, MethodInfo) Operator

定义

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

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

参数

left
MethodInfo MethodInfo MethodInfo MethodInfo

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

right
MethodInfo MethodInfo MethodInfo MethodInfo

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

返回

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

适用于