Partager via


COM.attach(Int64) Method

Definition

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

public:
 virtual void attach(long _interface);
public virtual void attach (long _interface);
abstract member attach : int64 -> unit
override this.attach : int64 -> unit
Public Overridable Sub attach (_interface As Long)

Parameters

_interface
Int64

The interface to attach to the instance of the COM class.

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.

Applies to