ITextRangeProvider.GetChildren Method

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

Namespace:  System.Windows.Automation.Provider
Assembly:  System.Windows (in System.Windows.dll)


Function GetChildren As IRawElementProviderSimple()
IRawElementProviderSimple[] GetChildren()

Return Value

Type: array<System.Windows.Automation.Provider.IRawElementProviderSimple[]
A collection of child objects that exist within the range. Child objects that overlap with the text range but are not completely enclosed by it are also included in the collection. Returns an empty collection if no child objects exist.

Version Information


Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1


For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.