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包含组件的站点。

属性

适用于

另请参阅