This method can be used to turn non-array collections that are not directly accessible by FoxPro into arrays.
Truly enumerable types that load data one record at a time as they are looped over don't work with COM - only arrays or other memory bound lists work over COM. This method allows 'virtual' lists to be turned into memory bound arrays first that are then accesible.
An IEnumerable object instance that is not an array. This could be a list or other collection that otherwise is unaccessible in FoxPro.
loMembers = loBridge.CreateArray() loMembers.FromEnumerable(loObj.Members) ? loMembers.Count
See also:Class ComArray
Comment or report problem with topic