Write 

Purpose

Writes metadata (field information) for this CRfcComplexParam object to persistent stream.

Syntax

BOOL Write(CRfcPersistStream& Pers);

Return Value

Returns TRUE when all metadata is successfully written; 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.

This function automatically writes all metadata (field information) for this CRfcComplexParam object to the given persistent stream object.

Related Information

AddFieldInfo (Multiple Fields)

Read

The RFC_FIELD_INFO Structure

The CRfcPersistStream Class