All Manuals > COM/Automation User Guide and Reference Manual > 4 Automation Reference Entries

get-i-dispatch-name Function

Summary

Returns the foreign name of an i-dispatch interface.

Package

com

Signature

get-i-dispatch-name i-dispatch => name

Arguments
i-dispatch
An i-dispatch interface.
Values
name
A string.
Description

The function get-i-dispatch-name returns the foreign name of i-dispatch. That is, it obtains the first return value of ITypeInfo::GetDocumentation.

Examples

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")
    ...)
See also

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