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

傳回

如果 objectDataRowView,且傳回與目前的 DataRowView 相同的資料列,則為 true,否則為 false

備註

這個方法會檢查參考是否相等,而不是檢查 或 Row 是否DataView相等。

適用於