Close()

Closes work layers of the theme (releases system resources reserved by work layers). This method should be used after completing the work with a theme that has work layers or otherwise resources will be released randomly. If the theme was not cataloged before calling this method by adding it to the GeoDatabase::Themes collection or the cataloged theme was not updated by the Theme::Update method, all changes made to the structure and features of theme work layers will be lost. It is not necessary to use this method if the theme has no work layers.