Returns the foreign name of an i-dispatch
interface.
com
get-i-dispatch-name i-dispatch => name
i-dispatch⇩ |
An i-dispatch interface. |
name |
A string. |
The function get-i-dispatch-name
returns the foreign name of i-dispatch. That is, it obtains the first return value of ITypeInfo::GetDocumentation
.
To implement code like this:
If TypeOf objMap.Selection Is Pushpin Then ...
you would need something like:
(if (equalp (com:get-i-dispatch-name selection) "PushPin") ...)
print-i-dispatch-methods
i-dispatch
create-object
create-instance-with-events
3.2 Starting a remote Automation server
COM/Automation User Guide and Reference Manual - 01 Dec 2021 19:38:41