2020.1

Table Of Contents
LoadFromFile(const String Filename )
Loads a Metadata file from the file system. This function throws an error when the Metadata file
is invalid or when it can't be found. Note that this error should be caught in a try-catch block.
Filename
Name of the file to load.
Exceptions
l EOleException: Invalid Metadata file or other error while loading.
SaveToFile(const String Filename)
Saves the current Metadata structure in a file.
Filename
Name of the file to save into. If the file already exists, the file is overwritten and its current
contents is lost.
Export(const String Filename, TExportFormat Format)
Exports the Metadata in a non-native format.
Filename
Name of the file to save to. If the file already exists, the file is overwritten and its current
content is lost.
Format
Format in which to save the file. The only value currently supported is efXml21 (value = 0),
which is an XML format corresponding to the former Metadata native file format.
Exceptions
l EOleException: The specified export format is invalid.
Page 199