語言

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 是 且 DataRowView ,則回傳與當前 DataRowView同一列;否則 false。

備註

此方法檢查參考相等性,而非檢查 或 DataView 是否Row等價。

適用於