## Comparer class


提供一个基类，用于实现 [System.Collections.Generic.IComparer](../icomparer/) 泛型接口。

```cpp
template<class T>class Comparer : public System::Collections::Generic::IComparer<T>
```


| Parameter | 描述 |
| --- | --- |
| T | 要比较的对象类型。 |
## 方法

| 方法 | 描述 |
| --- | --- |
| static [get_Default](./get_default/)() | 返回针对泛型参数指定的类型的默认排序比较器。 |
## Typedefs

| 类型定义 | 描述 |
| --- | --- |
| [BaseType](./basetype/) | 已实现的接口。 |
| [ThisType](./thistype/) | 当前类型。 |

## 另见

* Class [IComparer](../icomparer/)
* Namespace [System::Collections::Generic](../)
* Library [Aspose.Page for C++](../../)
