UIADataDrivenAdapter.FindUIAControl(String, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Traverses through the UIObject tree and finds the control in the TreeBinding.
protected System.Windows.Automation.AutomationElement FindUIAControl (string controlName, bool throwExceptionIfNotFound = true);
member this.FindUIAControl : string * bool -> System.Windows.Automation.AutomationElement
Protected Function FindUIAControl (controlName As String, Optional throwExceptionIfNotFound As Boolean = true) As AutomationElement
Parameters
- controlName
- String
Specifies the name of the control.
- throwExceptionIfNotFound
- Boolean
Throws an exception if not found.