HwndHost.IKeyboardInputSink.RegisterKeyboardInputSink(IKeyboardInputSink) Method

Definition

For a description of this member, see RegisterKeyboardInputSink(IKeyboardInputSink).

 virtual System::Windows::Interop::IKeyboardInputSite ^ System.Windows.Interop.IKeyboardInputSink.RegisterKeyboardInputSink(System::Windows::Interop::IKeyboardInputSink ^ sink) = System::Windows::Interop::IKeyboardInputSink::RegisterKeyboardInputSink;
[System.Security.SecurityCritical]
System.Windows.Interop.IKeyboardInputSite IKeyboardInputSink.RegisterKeyboardInputSink (System.Windows.Interop.IKeyboardInputSink sink);
Function RegisterKeyboardInputSink (sink As IKeyboardInputSink) As IKeyboardInputSite Implements IKeyboardInputSink.RegisterKeyboardInputSink

Parameters

sink
IKeyboardInputSink

The IKeyboardInputSink sink of the contained component.

Returns

The IKeyboardInputSite site of the contained component.

Implements

Attributes

Remarks

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

Security

UIPermission
to call this method. Associated enumeration: AllWindows

Applies to