AxHost.AttachInterfaces 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.