CopyTo()
Contents
[
Hide
]ParagraphCollection::CopyTo(System::ArrayPtr<System::SharedPtr<IParagraph>>, int32_t) method
Copies the elements of the ICollection to an System::Array, starting at a particular System::Array index.
void Aspose::Slides::ParagraphCollection::CopyTo(System::ArrayPtr<System::SharedPtr<IParagraph>> array, int32_t arrayIndex)
Arguments
| Parameter | Type | Description |
|---|---|---|
| array | System::ArrayPtr<System::SharedPtr<IParagraph>> | The one-dimensional System::Array that is the destination of the elements copied from ICollection. The System::Array must have zero-based indexing. |
| arrayIndex | int32_t | The zero-based index in array at which copying begins. |
Exceptions
| Exception | Description |
|---|---|
| System::ArgumentNullException | array is null. |
| System::ArgumentOutOfRangeException | arrayIndex is less than 0. |
| System::ArgumentException | The number of elements in the source ICollection is greater than the available space from arrayIndex to the end of the destination array . |
See Also
- Typedef ArrayPtr
- Typedef SharedPtr
- Class IParagraph
- Class ParagraphCollection
- Namespace Aspose::Slides
- Library Aspose.Slides