Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
ImmutableMultiList..::.Flatten Method
ImmutableMultiList Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Create a single dimensional array containing all elements of the specified array of arrays.

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

# 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

Exception | Condition
--- | ---
System..::.ArgumentOutOfRangeException | If the total length parameter was not sufficient to hold the flattened array.

# See Also

ImmutableMultiList Class
Tangosol.Util Namespace