Click here for NewsObjects Overview
ExportCriteria Method (Profile Manager Control)
Windows - Visual C++


Description
The ExportCriteria method exports profile criteria to a specified file.

Syntax
long result = ExportCriteria(LPCTSTR fileName, LPCTSTR lpszCriteria);

The ExportCriteria syntax has these parts:

Part

Description

fileName

A string containing the name of the file the criteria will be written to.

criteria

A string containing profile criteria in RPN.

result

A long integer containing 0, if the export succeeded, or an error code, otherwise.

Remarks
If the file specified by fileName exists, its contents will be overwritten with the new criteria.

See Also: AddProfile ImportCriteria ModifyProfile

Back to: Profile Manager Methods