GetRawChildren Method (SLBase)

Class

SLBase.

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

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

Examples

VB

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 MSUIA.
slBase.GetRawChildren("Text")