ITextRangeProvider.GetChildren Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

'Declaration
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

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

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