HwndSource.IKeyboardInputSink.RegisterKeyboardInputSink 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
有关此成员的说明,请参见 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);
System.Windows.Interop.IKeyboardInputSite IKeyboardInputSink.RegisterKeyboardInputSink (System.Windows.Interop.IKeyboardInputSink sink);
[<System.Security.SecurityCritical>]
abstract member System.Windows.Interop.IKeyboardInputSink.RegisterKeyboardInputSink : System.Windows.Interop.IKeyboardInputSink -> System.Windows.Interop.IKeyboardInputSite
override this.System.Windows.Interop.IKeyboardInputSink.RegisterKeyboardInputSink : System.Windows.Interop.IKeyboardInputSink -> System.Windows.Interop.IKeyboardInputSite
abstract member System.Windows.Interop.IKeyboardInputSink.RegisterKeyboardInputSink : System.Windows.Interop.IKeyboardInputSink -> System.Windows.Interop.IKeyboardInputSite
override this.System.Windows.Interop.IKeyboardInputSink.RegisterKeyboardInputSink : System.Windows.Interop.IKeyboardInputSink -> System.Windows.Interop.IKeyboardInputSite
Function RegisterKeyboardInputSink (sink As IKeyboardInputSink) As IKeyboardInputSite Implements IKeyboardInputSink.RegisterKeyboardInputSink
参数
- sink
- IKeyboardInputSink
所包含组件的 IKeyboardInputSink 接收器。
返回
所包含组件的 IKeyboardInputSite 站点。
实现
- 属性
注解
此成员是显式接口成员的实现。 它只能在 HwndSource 实例被强制转换为 IKeyboardInputSink 接口时使用。