Creates a new instance of one of the list/collection's data type without actually adding it to the array, and returns the created object instance.
It's a shortcut to explicitly using
CreateInstance(arrayElementType), which makes it easier create empty objects that can be populated in FoxPro without specifying the full type name each time, resulting in cleaner code in FoxPro.
public object CreateItem()
Item created or null, or if no items or unable to create (or object
For any non-generic typed lists, this method assumes that the collection has at least one item in it from which to derive the type to instantiate. If no items are available,
See also:Class ComArray
Comment or report problem with topic