COM.attach Method

Attaches an instance of the COM class to a COM interface.

Syntax

public void attach(ComInterface interface)

Run On

Called

Parameters

Remarks

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.

See Also

COM Class

COMVariant Class

COM.new Method

COM.detach Method