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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.