Assembly : UIAutomationProvider (dans uiautomationprovider.dll)
The window handle of the element.
Valeur de retourThe provider for the specified element, or a null reference (Nothing in Microsoft Visual Basic .NET) if the element's default provider is not being overridden.
This method is implemented by client-side UI Automation providers for fragment roots in fragments that contain window-based child elements, when the HWNDs of those child elements are not logically positioned within the UI Automation tree. For more information, see Non-WPF Provider Reparenting and Non-WPF Provider Repositioning in the Server-side UI Automation Provider Implementation topic.
The returned provider must be part of the fragment tree. It can supply additional properties or override properties of the specified component.
If the returned provider implements IRawElementProviderFragment, the provider should be part of the fragment's tree and be reachable by navigating from the fragment's root.