
## ToList (1 of 2) {#tolist_1}

Converts the RateCollection object to a list of Rate objects.

**Returns:** List of Rate objects.

```cpp
ToList()
```

---

## ToList (2 of 2) {#tolist_2}

Converts the RateCollection object to a list of Rate objects filtered by specified RateType type.

**Returns:** a list of Rate objects.

```cpp
ToList(RateType type)
```

| Parameter | Description |
| --- | --- |
| type | The type to filter on. |

