Clean()
Removes all features of the specified type from the layer. All changes made to work layer features are saved to GDB while a theme is cataloged by adding it to the GeoDatabase::Themes collection or by updating the cataloged theme using the Theme::Update method. Use the Layer::IsChanged method to check if there are unsaved changes made to work layer features.