CreateSink Method

Summary

Internal method to create the event sink for the underlying control object.

Syntax
C#
VB
C++
protected override void CreateSink() 
Protected Overrides Sub CreateSink()  
protected: 
virtual void CreateSink() override; 
Remarks

Internal method to attach interfaces to the underlying control object. This method is not externally callable. Classes that extend AxHost should override this method. Within an overridden version of this method, the extending class should call the GetOcx method to retrieve its own interface. In most cases, the GetOcx method should not be called before this method is called.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MediaFoundation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.