WinDataDrivenAdapter.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 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