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 站台。
- 屬性