CreateFeature(spatialCategory)

Returns the Feature object which is a feature representing spatial attributes of a map entity. The spatialCategory argument specifies a feature spatial category and is determined by a constant given in the "Feature spatial categories" table. Before adding a feature to a GDB map layer, it is necessary to set its spatial attributes (e.g., boundary coordinates, image, text, etc.), to specify a feature type by the Feature::FeatureType property. Adding the feature to a layer can be performed by the Featureset::Feature property.