FieldInfo.Inequality(FieldInfo, FieldInfo) 操作员

定义

指示两个 FieldInfo 对象是否不相等。

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

参数

left
FieldInfo

要比较的第一个对象。

right
FieldInfo

要比较的第二个对象。

返回

如果 true 不等于 left,则为 right;否则为 false

适用于