COM.attach(Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.