Bewerken

Share via


AxHost.AttachInterfaces Method

Definition

When overridden in a derived class, attaches interfaces to the underlying ActiveX control.

protected:
 virtual void AttachInterfaces();
protected virtual void AttachInterfaces ();
abstract member AttachInterfaces : unit -> unit
override this.AttachInterfaces : unit -> unit
Protected Overridable Sub AttachInterfaces ()

Notes to Inheritors

Classes that extend AxHost should override this method. Within an overridden version of this method, the extending class should call GetOcx() to retrieve its own interface. In most cases, the GetOcx() method should not be called before this method is called.

Applies to

See also