Automation.Compare Method


Compares the specified parameters to determine whether they refer to the same user interface (UI) element.

Namespace:   System.Windows.Automation
Assembly:  UIAutomationClient (in UIAutomationClient.dll)

System_CAPS_pubmethodSystem_CAPS_staticCompare(AutomationElement, AutomationElement)

Compares two UI Automation elements, returning true if both refer to the same UI element.

System_CAPS_pubmethodSystem_CAPS_staticCompare(Int32[], Int32[])

Compares two integer arrays containing run-time identifiers (IDs) to determine whether their content is the same.

Return to top