2019.2

Table Of Contents
The current job's Metadata file name can be obtained using the Watch.GetMetadataFilename
method (see "Watch.GetMetadataFilename" on page168) when using the "Run Script" on
page506 task. Note that the exact syntax may vary according to the selected script language.
When writing a plugin using the plugin SDK the current job's Metadata file name can be
obtained by calling the IWatchJob::MetadataFilename method from within
IWatchPlugin::Execute.
Warning
Under no circumstances should any other objects of this library be created directly. Always use
the published APIs to create new objects.
Warning
The Metadata objects point to an underlying persistent data store. This means that if there are live
references to Metadata objects and the underlying data is destroyed (e.g. a new file is loaded), the
objects would point to invalid data. The effect of calling any object method in these circumstances is
undefined and may result in memory corruption, crash or loss of data.
Methods
Name Description
Job() Returns the "MetaJob" on page202 node, which
sits at the top of the Metadata tree structure.
"LoadFromFile(const String Filename
)" on the facing page
Loads a Metadata file from the file system.
"SaveToFile(const String Filename)"
on the facing page
Saves a Metadata file to the file system.
"Export(const String Filename,
TExportFormat Format)" on the facing
page
Exports the Metadata in a non-native format.
Page 200