COM.interface Method

Returns the interface that is associated with the COM object.

Syntax

public ComInterface interface()

Run On

Called

Return Value

Type: ComInterface Extended Data Type
The interface that is associated with the COM object; 0 (zero) if no interface is associated with the COM object.

Examples

The following example shows how to retrieve the interface that is associated with a COM object.

// The obj variable was previously instantiated. 
info(strfmt("Interface: %1", obj.interface()));

See Also

Reference

COM Class