PropertyInfo.Equality(PropertyInfo, PropertyInfo) 操作员

定义

指示两个 PropertyInfo 对象是否相等。

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

参数

left
PropertyInfo

要比较的第一个对象。

right
PropertyInfo

要比较的第二个对象。

返回

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

适用于