Bagikan melalui


HwndSource.IKeyboardInputSink.RegisterKeyboardInputSink Metode

Definisi

Untuk deskripsi anggota ini, lihat 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

Parameter

sink
IKeyboardInputSink

Sink IKeyboardInputSink komponen yang terkandung.

Mengembalikan

Situs IKeyboardInputSite komponen yang terkandung.

Penerapan

Atribut

Keterangan

Anggota ini adalah implementasi anggota antarmuka eksplisit. Ini hanya dapat digunakan ketika instans dilemparkan HwndSource ke IKeyboardInputSink antarmuka.

Berlaku untuk