Feature

Returns the Feature object, which is the current feature in the featureset, or adds a new feature to the featureset and to the corresponding layer of a map (if features belong to the map). The feature being added must have a type set by the Feature::FeatureType property. The theme, upon which the featureset has been built, must contain the same type as the feature being added does. If the feature being added has an internal number set by the Feature::Number property, the feature keeps this number after its adding. If the feature being added has no an internal number (the Feature::Number property returns 0), an internal number is assigned to the feature while its adding and it is added to the layer in chronological order. The added feature becomes the current one. The property is the default one. The property supports read/write access.