FilterGroups
The collection contains FilterGroup objects, which are filter groups for features of the specified type. To access objects in the collection, use the Item method. The argument of this method is a string (the group name, see the FilterGroup::Name property) or an integer (the filter group ordinal number). Groups can have the same names. If there are several groups with the same names, a group with the smallest number is returned when you access a group by its name. To access the other groups, use their ordinal numbers. The group order in the collection specifies the order in which the filter conditions are applied to features of the specified type. Adding to and removing from the collection is possible if a layer, the feature type owner, belongs to the collection Theme::Layers. The collection is always empty for the feature types of work layers because it is impossible to set filter groups for the feature types of work layers.