Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
PofStreamReader..::.ReadArray Method (Int32, Array)
PofStreamReader Class See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
Read an array of object values.

Namespace: Tangosol.IO.Pof
Assembly: Coherence (in Coherence.dll) Version: 3.6.0.0 (3.6.0.0)

# Syntax

C#
    public virtual Array ReadArray(
    	int index,
    	Array array
    )

#### Parameters

index
  Type: System..::.Int32
  The property index to read.

array
  Type: System..::.Array
  The optional array to use to store the values, or to use as a typed template for creating an array to store the values, following the documentation for ArrayList.ToArray.

#### Return Value

An array of object values, or null if no array is passed and there is no array data in the POF stream.

#### Implements

IPofReader..::.ReadArray(Int32, Array)

# Exceptions

Exception | Condition
--- | ---
System..::.ArgumentException | If the property index is invalid, or is less than or equal to the index of the previous property read from the POF stream.
System.IO..::.IOException | If an I/O error occurs.

# See Also

PofStreamReader Class
ReadArray Overload
Tangosol.IO.Pof Namespace