DataSourceSelectArguments.Equals(Object) 方法
定义
确定指定的 DataSourceSelectArguments 实例是否等于当前实例。Determines whether the specified DataSourceSelectArguments instance is equal to the current instance.
public:
override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean
参数
- obj
- Object
与当前实例进行比较的 DataSourceSelectArguments。The DataSourceSelectArguments to compare with the current one.
返回
如果指定的 DataSourceSelectArguments 等于当前实例,则为 true;否则为 false。true if the specified DataSourceSelectArguments is equal to the current instance; otherwise, false.
注解
DataSourceSelectArguments类将重写 Object.Equals 方法,以便使用对象的各种属性测试相等性。The DataSourceSelectArguments class overrides the Object.Equals method to test equality using the various properties of the objects. 如果 MaximumRows 、、 RetrieveTotalRowCount SortExpression 、 StartRowIndex 和属性的 TotalRowCount 值都相等,则该方法将 Equals(Object) 返回 true 。If the MaximumRows, RetrieveTotalRowCount, SortExpression, StartRowIndex, and TotalRowCount properties are all equal in value, the Equals(Object) method returns true.