Compartilhar via


HwndSource.RegisterKeyboardInputSinkCore(IKeyboardInputSink) Método

Definição

Registra a interface IKeyboardInputSink de um componente independente.

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

Parâmetros

sink
IKeyboardInputSink

O coletor IKeyboardInputSink do componente independente.

Retornos

IKeyboardInputSite

O site IKeyboardInputSite do componente independente.

Atributos

Aplica-se a

Confira também