wwDotNetBridge::ComArrayToCollection

Creates a FoxPro collection from a ComArray for easier access in FoxPro code, when the collections are read only.

Primarily meant for internal functions that return Collection results that don't need to be updated.

Collections should only be used for Read Only Operations

If you plan on updating the Collection, do not use this method. Instead use the COM Array to retrieve instances and update, remove, add items as needed through the ComArray interfaces.

o.ComArrayToCollection(loComArray)

Return Value

Collection. If the collection is null or empty an empty collection is returned.

Parameters

loComArray
A ComArray Instance to convert to a Collection


See also:

Class wwDotNetBridge

© West Wind Technologies, 1996-2024 • Updated: 09/23/24
Comment or report problem with topic