copyTo

Copies the elements of the System.Collections.Generic.ICollection`1 to an Array, starting at a particular Array index.

Parameters:

array - The one-dimensional Array that is the destination of the elements copied from System.Collections.Generic.ICollection`1. The Array must have zero-based indexing.

arrayIndex - The zero-based index in array at which copying begins.

Throws:

com.aspose.ms.System.ArgumentNullException - array is null.

com.aspose.ms.System.ArgumentOutOfRangeException - arrayIndex is less than 0.

com.aspose.ms.System.ArgumentException - The number of elements in the source System.Collections.Generic.ICollection`1 is greater than the available space from arrayIndex to the end of the destination array.

item - The object to remove from the System.Collections.Generic.ICollection`1.

Returns:

true if item was successfully removed from the System.Collections.Generic.ICollection`1; otherwise, false. This method also returns false if item is not found in the original System.Collections.Generic.ICollection`1.

Throws:

com.aspose.ms.System.NotSupportedException - The System.Collections.Generic.ICollection`1 is read-only.

iterator

public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IParagraph> iterator()