Click or drag to resize

APIGetCurrentSelection Method

Retrieves the selected UI Items in the container into an UI Item array.

Namespace:  AppRobotic
Assembly:  AppRobotic (in AppRobotic.dll) Version: 15.21.3.21 (15.21.03.21)
Syntax
C#
public AutomationElement[] GetCurrentSelection(
	AutomationElement UIItemVariable
)

Parameters

UIItemVariable
Type: System.Windows.AutomationAutomationElement

[Missing <param name="UIItemVariable"/> documentation for "M:AppRobotic.API.GetCurrentSelection(System.Windows.Automation.AutomationElement)"]

Return Value

Type: AutomationElement
Returns array containing UI Items, or NULL if error occurs.
See Also