Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
PofStreamReader..::.ReadDictionary Method (Int32, IDictionary)
PofStreamReader Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Read an IDictionary of key/value pairs from the POF stream.

Namespace: Tangosol.IO.Pof
Assembly: Coherence (in Coherence.dll) Version: 3.6.1.0 (3.6.1.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

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

# See Also

PofStreamReader Class
ReadDictionary Overload
Tangosol.IO.Pof Namespace