Method AutomationObject():getIDsOfNames() Foundation
Queries the dispatch IDs of properties and methods
:getIDsOfNames( <aName> | <cName> ) --> aID | nID | NIL
If :getIDsOfNames() is called with <aNames> as a parameter, then the array returned has the same length as the original array. Each array array contains a numeric ID that corresponds to the name passed in the input array. If a name can not be resolved by :getIDsOfNames(), the corresponding element of the return array as well as all subsequent array elements are NIL.
If a method or property name is passed in parameter <cName>, :getIDsOfNames() returns the ID of the method or property. If the name could not be resolved, NIL is returned.
:getIDsOfNames() can be used to retrieving the IDs of methods and properties exposed by the COM interface used to connect to the COM/ActiveX object. The IDs can be used with the methods :callmethod(), :setProperty(), :getProperty() and :invoke().
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.