IKeyboardInputSink.RegisterKeyboardInputSink(IKeyboardInputSink) Methode

Definition

Registriert die IKeyboardInputSink Schnittstelle einer enthaltenen Komponente.

public:
 System::Windows::Interop::IKeyboardInputSite ^ RegisterKeyboardInputSink(System::Windows::Interop::IKeyboardInputSink ^ sink);
[System.Security.SecurityCritical]
public System.Windows.Interop.IKeyboardInputSite RegisterKeyboardInputSink(System.Windows.Interop.IKeyboardInputSink sink);
public System.Windows.Interop.IKeyboardInputSite RegisterKeyboardInputSink(System.Windows.Interop.IKeyboardInputSink sink);
[<System.Security.SecurityCritical>]
abstract member RegisterKeyboardInputSink : System.Windows.Interop.IKeyboardInputSink -> System.Windows.Interop.IKeyboardInputSite
abstract member RegisterKeyboardInputSink : System.Windows.Interop.IKeyboardInputSink -> System.Windows.Interop.IKeyboardInputSite
Public Function RegisterKeyboardInputSink (sink As IKeyboardInputSink) As IKeyboardInputSite

Parameter

sink
IKeyboardInputSink

Die IKeyboardInputSink Spüle der enthaltenen Komponente.

Gibt zurück

Die IKeyboardInputSite Website der enthaltenen Komponente.

Attribute

Hinweise

Komponenten mit untergeordneten Komponenten sollten interne Sammlungen von Websites verwalten und diese Methode verwenden, um eine neue Spüle hinzuzufügen und die neue Website zurückzugeben. Sie müssen die Websitesammlung nur beibehalten, da die Spüle von der Website abgerufen werden kann.

Gilt für: