PropertyInfo.Equals(Object) 方法
定义
返回一个值,该值指示此实例是否与指定的对象相等。Returns a value that indicates whether this instance is equal to a specified object.
public:
override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
public override bool Equals (object? obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean
参数
- obj
- Object
与此实例进行比较的对象,或为 null。An object to compare with this instance, or null.
返回
如果 true 等于此实例的类型和值,则为 obj;否则为 false。true if obj equals the type and value of this instance; otherwise, false.