Click or drag to resize

IPofReaderReadCollectionT Method (Int32, ICollectionT)

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Read a generic ICollection<T> of object values from the POF stream.

Namespace:  Tangosol.IO.Pof
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
ICollection<T> ReadCollection<T>(
	int index,
	ICollection<T> coll
)

Parameters

index
Type: SystemInt32
The property index to read.
coll
Type: System.Collections.GenericICollectionT
The optional ICollection<T> to use to store the values.

Type Parameters

T
The type of the elements it the collection.

Return Value

Type: ICollectionT
A generic collection of object values, or null if no collection is passed and there is no collection data in the POF stream.
Exceptions
ExceptionCondition
InvalidOperationException If the POF stream has already advanced past the desired property.
IOException If an I/O error occurs.
See Also