Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

Read a DateTime property from the POF stream.

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

Syntax

C#
DateTime ReadDate(
	int index
)

Parameters

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

Return Value

The DateTime property value.

Remarks

This method will read only the date component of a date-time value from the POF stream. It will ignore the time component if present and initialize the time-related fields of the return value to their default values.

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.IO..::.IOException If an I/O error occurs.

See Also