ITextRangeProvider.GetChildren Method

Definition

Retrieves a collection of all embedded objects that fall within the text range.

public:
 cli::array <System::Windows::Automation::Provider::IRawElementProviderSimple ^> ^ GetChildren();
public System.Windows.Automation.Provider.IRawElementProviderSimple[] GetChildren ();
abstract member GetChildren : unit -> System.Windows.Automation.Provider.IRawElementProviderSimple[]
Public Function GetChildren () As IRawElementProviderSimple()

Returns

A collection of child objects that fall within the range. Children that overlap with the text range but are not entirely enclosed by it will also be included in the collection.

Returns an empty collection if there are no child objects.

Applies to