
## ToArray {#toarray}

Copies all parts from the collection to a new array.

**Returns:** An array of Aspose::Tasks::SplitPart objects.

```cpp
ToArray()
```

