GetRawChildren Method (UIAObject)

Class

UIAObject.

Action

Gets the raw child element of this element. This method can be used to access elements that would otherwise not be recognized as children. Optionally one of the MSUIA control types can be specified to only return children of a certain type.

Syntax

rawChildren = object.GetRawChildren([automationControlType])
Variable Description
rawChildren List(Of UIAObject).
automationControlType Optional: optionally specifies that only children with this control type should be retrieved. String.

Examples

In order to get all raw children of an element:
slBase.GetRawChildren()
In order to get only children of a certain control type. For a list of control types have a look at the control types provided by the UI Automation.
slBase.GetRawChildren("Text")