HwndHost.IKeyboardInputSink.RegisterKeyboardInputSink Method (IKeyboardInputSink)

 

For a description of this member, see RegisterKeyboardInputSink.

Namespace:   System.Windows.Interop
Assembly:  PresentationFramework (in PresentationFramework.dll)

<SecurityCriticalAttribute>
Private Function RegisterKeyboardInputSink (
	sink As IKeyboardInputSink
) As IKeyboardInputSite
	Implements IKeyboardInputSink.RegisterKeyboardInputSink

Parameters

sink
Type: System.Windows.Interop.IKeyboardInputSink

The IKeyboardInputSink sink of the contained component.

Return Value

Type: System.Windows.Interop.IKeyboardInputSite

The IKeyboardInputSite site of the contained component.

This member is an explicit interface member implementation. It can be used only when the HwndHost instance is cast to an IKeyboardInputSink interface.

UIPermission

to call this method. Associated enumeration: AllWindows

.NET Framework
Available since 3.0
Return to top
Show: