Read 

Purpose

Restores metadata information about this CRfcClientFunc 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.

Exceptions

Throws const char* for memory exceptions.

Description

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

Important Note: care must be taken to set the function name of this object using SetFunctionName() before calling Read() to ensure that the Read() function finds the pertinent data inside the persistent stream.

Related Information

The CRfcPersistStream Class

Write