WinDataDrivenAdapter.FindWindowFromControlName(String, Boolean) Method

Definition

Finds the window that contains the 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

Contains a Boolean value that, when true, throws DataDrivenAdapterException if the window isn’t found.

Returns

IntPtr

nativeint

Applies to