HwndHost.IKeyboardInputSink.RegisterKeyboardInputSink(IKeyboardInputSink) HwndHost.IKeyboardInputSink.RegisterKeyboardInputSink(IKeyboardInputSink) HwndHost.IKeyboardInputSink.RegisterKeyboardInputSink(IKeyboardInputSink) Method

定義

如需這個成員的說明,請參閱 RegisterKeyboardInputSink(IKeyboardInputSink)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

參數

sink
IKeyboardInputSink IKeyboardInputSink IKeyboardInputSink

IKeyboardInputSink包含之元件的接收。The IKeyboardInputSink sink of the contained component.

傳回

IKeyboardInputSite包含之元件的站台。The IKeyboardInputSite site of the contained component.

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 HwndHost 執行個體轉換成 IKeyboardInputSink 介面時,才能使用這個成員。It can be used only when the HwndHost instance is cast to an IKeyboardInputSink interface.

安全性

UIPermission
呼叫這個方法。to call this method. 相關聯的列舉型別: AllWindowsAssociated enumeration: AllWindows

適用於