JavaDataDrivenAdapter.FindWindowFromControlName(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.
Finds the handle of a control.
protected:
IntPtr FindWindowFromControlName(System::String ^ controlName, bool throwExceptionIfNotFound);
protected IntPtr FindWindowFromControlName (string controlName, bool throwExceptionIfNotFound);
member this.FindWindowFromControlName : string * bool -> nativeint
Protected Function FindWindowFromControlName (controlName As String, throwExceptionIfNotFound As Boolean) As IntPtr
Parameters
- controlName
- String
Specifies the name of the control.
- throwExceptionIfNotFound
- Boolean
If true
, throws DataDrivenAdapterException if the window is not found.
Returns
IntPtr
nativeint
Handle of a control