DataRowComparer 类
定义
返回 DataRowComparer<TRow> 类的单一实例。Returns a singleton instance of the DataRowComparer<TRow> class.
public ref class DataRowComparer abstract sealed
public static class DataRowComparer
type DataRowComparer = class
Public Class DataRowComparer
- 继承
-
DataRowComparer
注解
DataRowComparer<TRow>类用于比较对象的值 DataRow ,并且不比较对象引用。The DataRowComparer<TRow> class is used to compare the values of the DataRow objects and does not compare the object references.
不能直接实例化此类。This class cannot be directly instantiated. 相反, Default 必须使用属性返回类的单一实例 DataRowComparer<TRow> 。Instead, the Default property must be used to return a singleton instance of the DataRowComparer<TRow> class.
此类是无状态的。This class is stateless.
属性
| Default |
获取 DataRowComparer<TRow> 的单一实例。Gets a singleton instance of DataRowComparer<TRow>. 此属性是只读的。This property is read-only. |