Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
IPofReader..::.ReadCollection<(Of <(T>)>) Method (Int32, ICollection<(Of <(T>)>))
IPofReader Interface See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Read a generic ICollection<T> of object values from the POF stream.

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

# Syntax

C#
    ICollection<T> ReadCollection<T>(
    	int index,
    	ICollection<T> coll
    )

#### Parameters

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

coll
  Type: System.Collections.Generic..::.ICollection<(Of <(T>)>)
  The optional ICollection<T> to use to store the values.

# Type Parameters

T
  The type of the elements it the collection.

#### Return Value

A generic collection of object values, or null if no collection is passed and there is no collection data in the POF stream.

# 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

IPofReader Interface
ReadCollection Overload
Tangosol.IO.Pof Namespace