Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

Create a single dimensional array containing all elements of the specified array of arrays.

Namespace:  Tangosol.Util
Assembly:  Coherence (in Coherence.dll) Version: 3.7.1.23 (3.7.1.23)

Syntax

C#
public static Array Flatten(
	Object[][] aaoFrom,
	int cTotal,
	Array aoTo,
	int iTo
)

Parameters

aaoFrom
Type: array< array< System..::.Object >[]()[] >[]()[]
An array of arrays to copy from.
cTotal
Type: System..::.Int32
The total length of the flattened array; pass -1 for it to be calculated.
aoTo
Type: System..::.Array
An array to copy the elements into (optional).
iTo
Type: System..::.Int32
The position into aoTo at which to start copying.

Return Value

An array containing all the elements of the array of arrays.

Exceptions

ExceptionCondition
System..::.ArgumentOutOfRangeException If the total length parameter was not sufficient to hold the flattened array.

See Also