HwndSource.RegisterKeyboardInputSinkCore(IKeyboardInputSink) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注册所包含组件的 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 站点。
- 属性