IRawElementProviderFragment.GetEmbeddedFragmentRoots Method ()


Retrieves an array of fragment roots that are embedded in the UI Automation element tree rooted at the current element.

Namespace:   System.Windows.Automation.Provider
Assembly:  UIAutomationProvider (in UIAutomationProvider.dll)

IRawElementProviderSimple[] GetEmbeddedFragmentRoots()

Return Value

Type: System.Windows.Automation.Provider.IRawElementProviderSimple[]

An array of root fragments, or null.

This method returns an array of fragments only if the current element is hosting another UI Automation framework. Most providers return null.

.NET Framework
Available since 3.0
Return to top