Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
PofHelper..::.ReadAsDecimal Method
PofHelper Class See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
Read a value of the specified encoding from the POF stream and convert it to a Decimal.

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

# Syntax

C#
    public static decimal ReadAsDecimal(
    	DataReader reader,
    	int typeId
    )

#### Parameters

reader
  Type: Tangosol.IO..::.DataReader
  The POF stream containing the value.

typeId
  Type: System..::.Int32
  The POF type of the value.

#### Return Value

The POF value as a Decimal.

# Exceptions

Exception | Condition
--- | ---
System.IO..::.IOException | If an I/O error occurs reading the POF stream, or the POF value cannot be coerced to a Decimal value.

# See Also

PofHelper Class
Tangosol.IO.Pof Namespace