## SectionCollection.ToArray method

Copies all sections from the collection to a new array of sections.

```csharp
public Section[] ToArray()
```

### Return Value

An array of sections.

### See Also

* class [Section](../../section/)
* class [SectionCollection](../)
* namespace [Aspose.Words](../../../aspose.words/)
* assembly [Aspose.Words](../../../)
