Partager via


JavaDataDrivenAdapter.FindWindowFromControlName(String, Boolean) Method

Definition

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

Applies to