Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Create a single dimensional array containing all elements of the specified array of arrays.

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

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