IRawElementProviderFragment.GetEmbeddedFragmentRoots 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.
Retrieves an array of fragment roots that are embedded in the UI Automation element tree rooted at the current element.
public:
cli::array <System::Windows::Automation::Provider::IRawElementProviderSimple ^> ^ GetEmbeddedFragmentRoots();
public System.Windows.Automation.Provider.IRawElementProviderSimple[] GetEmbeddedFragmentRoots ();
abstract member GetEmbeddedFragmentRoots : unit -> System.Windows.Automation.Provider.IRawElementProviderSimple[]
Public Function GetEmbeddedFragmentRoots () As IRawElementProviderSimple()
Returns
An array of root fragments, or null
.
Remarks
This method returns an array of fragments only if the current element is hosting another UI Automation framework. Most providers return null
.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.