Maptitude GISDK Help |
Gets the COM objects in a COM collection.
Added to Version 5.0.
com_objects = GetCOMCollectionObjects(comobject my_object)
Argument |
Contents |
my_object |
The name of the COM collection |
An array of the COMObjects in a COM collection.
GetCOMCollectionObjects() iterates over all the items in the collection and returns them in a single array.
This is an alternative to using my_object.item[i] to get at the individual items, and in fact that does not work for all collections, since some are not indexed.
name = GetCOMCollectionObjects("MyCollection")
Error Type |
Meaning |
Error |
Passed a null value or there is no COM collection |
Function |
Summary |
Closes the window containing the COM control |
|
Creates a new COM control window |
|
Gets the COM interface of a COM control window |
|
Gets the name of the COM interface for an object from the type library |
|
Gets the currently active instance of a COMObject |
©2025 Caliper Corporation | www.caliper.com |