IRawElementProviderFragment.GetEmbeddedFragmentRoots Metoda

Definicja

Pobiera tablicę korzeni fragmentów osadzonych w drzewie elementów automatyzacja interfejsu użytkownika zakorzenionym w bieżącym elemencie.

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()

Zwraca

Tablica fragmentów głównych lub null.

Uwagi

Ta metoda zwraca tablicę fragmentów tylko wtedy, gdy bieżący element hostuje inną strukturę automatyzacja interfejsu użytkownika. Większość dostawców zwraca wartość null.

Dotyczy

Zobacz też