ITextRangeProvider.GetChildren Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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)

Syntax

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

ITextRangeProvider Interface

System.Windows.Automation.Provider Namespace