Read an IDictionary of key/value pairs from the POF stream.

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

Syntax

C#
public virtual IDictionary ReadDictionary(
	int index,
	IDictionary dict
)

Parameters

index
Type: System..::..Int32
The property index to read.
dict
Type: System.Collections..::..IDictionary
The optional IDictionary to initialize.

Return Value

An IDictionary of key/value pairs object values, or null if no dictionary is passed and there is no key/value data in the POF stream.

Implements

IPofReader..::..ReadDictionary(Int32, IDictionary)

Exceptions

ExceptionCondition
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..::..ArgumentNullException If dict is null.
System.IO..::..IOException If an I/O error occurs.

See Also