Click or drag to resize

APIGetItemDescendent Method

Searches descendent UI Items starting from the Desktop and attaches to the first found Application UI Item / AutomationElement using the specified SearchType property value. Can be used as base to find other UI Items within this UI Item.

Namespace:  AppRobotic
Assembly:  AppRobotic (in AppRobotic.dll) Version: 15.21.3.21 (15.21.03.21)
Syntax
C#
public AutomationElement GetItemDescendent(
	Object SearchByType,
	Object SearchValue
)

Parameters

SearchByType
Type: SystemObject
UI Item's Name or ID property, etc...
SearchValue
Type: SystemObject
Value of specified property.

Return Value

Type: AutomationElement
Returns UI Item AutomationElement object or NULL.
See Also