DataRowView.Equals(Object) 方法

定义

获取一个值,该值指示当前 DataRowView 对象是否与指定对象相同。

public:
 override bool Equals(System::Object ^ other);
public override bool Equals(object? other);
public override bool Equals(object other);
override this.Equals : obj -> bool
Public Overrides Function Equals (other As Object) As Boolean

参数

other
Object

要比较的一个 Object

返回

true 如果 other 为 a DataRowView ,则返回与当前 DataRowView行相同的行;否则 false

注解

此方法检查引用相等性,而不是检查是否DataViewRow等效。

适用于