CreateFeatureType(name, spatialCategory)
Returns the FeatureType object that represents a feature type of the layer. The name argument specifies a string, which is the feature type name. The spatialCategory argument specifies a spatial category of the feature type and is determined by a constant given in the "Feature spatial categories" table. The object is not added to the Layer::FeatureTypes collection. To add the feature type to the layer, its additional properties must be set and the FeatureType object must be added to the Layer::FeatureTypes collection by the Append method. To access features, the feature type must belong to the Layer::FeatureTypes collection.