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

NextPrevUpTopContentsIndex

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 an i-dispatch interface. That is, it obtains the first return value of ITypeInfo::GetDocumentation.

Example

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
Starting a remote Automation server


LispWorks COM/Automation User Guide and Reference Manual - 14 Feb 2015

NextPrevUpTopContentsIndex