HwndSource.RegisterKeyboardInputSinkCore(IKeyboardInputSink) 方法

定义

注册所包含组件的 IKeyboardInputSink 接口。

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

参数

sink
IKeyboardInputSink

所包含组件的 IKeyboardInputSink 接收器。

返回

所包含组件的 IKeyboardInputSite 站点。

属性

适用于

另请参阅