Attaches an instance of the COM class to a COM interface.
public void attach(ComInterface interface)
Type: ComInterface Extended Data Type
The interface to attach to the instance of the COM class.
This method is provided because some COM objects can be instantiated only by other COM objects and cannot be instantiated directly by the COM class.