IKeyboardInputSink.RegisterKeyboardInputSink Method (IKeyboardInputSink)
Registers the IKeyboardInputSink interface of a contained component.
Assembly: WindowsBase (in WindowsBase.dll)
[SecurityCriticalAttribute] [UIPermissionAttribute(SecurityAction.LinkDemand, Unrestricted = true)] IKeyboardInputSite RegisterKeyboardInputSink( IKeyboardInputSink sink )
Components with child components should maintain internal collections of sites and use this method to add a new sink and return the new site. You only need to maintain the site collection, because the sink can be obtained from the site.
Available since 3.0