## List::GetRange method


Creates slice of list.

```cpp
ThisPtr System::Collections::Generic::List<T>::GetRange(int index, int count)
```


| Parameter | Type | Description |
| --- | --- | --- |
| index | int | [Range](../../../system/range/) start index. |
| count | int | [Range](../../../system/range/) size. |

### ReturnValue

[List](../) containing a slice of current list.

## See Also

* Class [List](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
