IKeyboardInputSink.RegisterKeyboardInputSink(IKeyboardInputSink) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Registers the IKeyboardInputSink interface of a contained component.
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
Parameters
- sink
- IKeyboardInputSink
The IKeyboardInputSink sink of the contained component.
Returns
The IKeyboardInputSite site of the contained component.
- Attributes
Remarks
Components with child components should maintain internal collections of sites and use this method to add a new sink and return the new site. You only need to maintain the site collection, because the sink can be obtained from the site.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示