CreateTheme()

Returns the Theme object that represents a GDB theme based on the feature type. The created theme contains the only map layer, the feature type owner, and the layer contains only the given feature type. The created theme is not added to the GeoDatabase::Themes collection (it is not cataloged). It is possible to use not cataloged themes for accessing map features. To catalog the theme, it is necessary to set its name up by the Theme::Name property and add it to the GeoDatabase::Themes collection by the Append method.