Modifica

Condividi tramite


IRawElementProviderFragment.GetEmbeddedFragmentRoots Method

Definition

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