HwndHost.RegisterKeyboardInputSinkCore(IKeyboardInputSink) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
註冊所包含之元件的 IKeyboardInputSink 介面。
protected:
virtual System::Windows::Interop::IKeyboardInputSite ^ RegisterKeyboardInputSinkCore(System::Windows::Interop::IKeyboardInputSink ^ sink);
[System.Security.SecurityCritical]
protected virtual System.Windows.Interop.IKeyboardInputSite RegisterKeyboardInputSinkCore (System.Windows.Interop.IKeyboardInputSink sink);
protected virtual System.Windows.Interop.IKeyboardInputSite RegisterKeyboardInputSinkCore (System.Windows.Interop.IKeyboardInputSink sink);
[<System.Security.SecurityCritical>]
abstract member RegisterKeyboardInputSinkCore : System.Windows.Interop.IKeyboardInputSink -> System.Windows.Interop.IKeyboardInputSite
override this.RegisterKeyboardInputSinkCore : System.Windows.Interop.IKeyboardInputSink -> System.Windows.Interop.IKeyboardInputSite
abstract member RegisterKeyboardInputSinkCore : System.Windows.Interop.IKeyboardInputSink -> System.Windows.Interop.IKeyboardInputSite
override this.RegisterKeyboardInputSinkCore : System.Windows.Interop.IKeyboardInputSink -> System.Windows.Interop.IKeyboardInputSite
Protected Overridable Function RegisterKeyboardInputSinkCore (sink As IKeyboardInputSink) As IKeyboardInputSite
參數
- sink
- IKeyboardInputSink
所包含之元件的 IKeyboardInputSink 接收。
傳回
所包含之元件的 IKeyboardInputSite 站台。
- 屬性