Read 

Purpose

Restores metadata (field information) about this CRfcComplexParam object from persistent stream.

Syntax

BOOL Read(CRfcPersistStream& Pers);

Return Value

Returns TRUE when all metadata is successfully restored; FALSE otherwise.

Parameters

Pers: Reference to a CRfcPersistStream object that encapsulates the persistent data stream.

Description

Important Note: since CRfcComplexParam is intended to be used as a base class from which usable classes are derived, the metadata is best written and read using the derived classes‘ (CRfcStructParam and CRfcTableParam) Write() and Read() functions, respectively.

It is important that the given CRfcPersistStream object actually contains the complete metadata for this CRfcComplexParam object. Incomplete metadata causes the restoration to fail.

Related Information

AddFieldInfo (Multiple Fields)

Write

The RFC_FIELD_INFO Structure

The CRfcPersistStream Class