HwndHost.RegisterKeyboardInputSinkCore(IKeyboardInputSink) HwndHost.RegisterKeyboardInputSinkCore(IKeyboardInputSink) HwndHost.RegisterKeyboardInputSinkCore(IKeyboardInputSink) HwndHost.RegisterKeyboardInputSinkCore(IKeyboardInputSink) Method

定義

註冊IKeyboardInputSink介面所包含的元件。Registers the IKeyboardInputSink interface of a contained component.

protected:
 virtual System::Windows::Interop::IKeyboardInputSite ^ RegisterKeyboardInputSinkCore(System::Windows::Interop::IKeyboardInputSink ^ sink);
[System.Security.SecurityCritical]
protected virtual System.Windows.Interop.IKeyboardInputSite RegisterKeyboardInputSinkCore (System.Windows.Interop.IKeyboardInputSink sink);
abstract member RegisterKeyboardInputSinkCore : System.Windows.Interop.IKeyboardInputSink -> System.Windows.Interop.IKeyboardInputSite
override this.RegisterKeyboardInputSinkCore : System.Windows.Interop.IKeyboardInputSink -> System.Windows.Interop.IKeyboardInputSite
Protected Overridable Function RegisterKeyboardInputSinkCore (sink As IKeyboardInputSink) As IKeyboardInputSite

參數

sink
IKeyboardInputSink IKeyboardInputSink IKeyboardInputSink IKeyboardInputSink

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

傳回

適用於

另請參閱