copy_to method
copy_to
Copies the elements of the System.Collections.Generic.ICollection`1 to an System.Array, starting at a particular System.Array index.
def copy_to(self, array, array_index):
...
Parameter | Type | Description |
---|
array | List[IParagraph] | The one-dimensional System.Array that is the destination of the elements copied from System.Collections.Generic.ICollection`1. The System.Array must have zero-based indexing. |
array_index | int | The zero-based index in array at which copying begins. |
Exceptions
Exception | Description |
---|
RuntimeError(Proxy error(ArgumentNullException)) | array is None. |
RuntimeError(Proxy error(ArgumentOutOfRangeException)) | array_index is less than 0. |
RuntimeError(Proxy error(ArgumentException)) | The number of elements in the source **System.Collections.Generic.ICollection1** is greater than the available space from array_indexto the end of the destination array`. |
See Also