JavaDataDrivenAdapter.FindWindowFromControlName Method
Finds the handle of a control.
Namespace: Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter
Assembly: Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter (in Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.dll)
Usage
'Usage
Dim controlName As String
Dim throwExceptionIfNotFound As Boolean
Dim returnValue As IntPtr
returnValue = Me.FindWindowFromControlName(controlName, throwExceptionIfNotFound)
Syntax
'Declaration
Protected Function FindWindowFromControlName ( _
controlName As String, _
throwExceptionIfNotFound As Boolean _
) As IntPtr
protected IntPtr FindWindowFromControlName (
string controlName,
bool throwExceptionIfNotFound
)
protected:
IntPtr FindWindowFromControlName (
String^ controlName,
bool throwExceptionIfNotFound
)
protected IntPtr FindWindowFromControlName (
String controlName,
boolean throwExceptionIfNotFound
)
protected function FindWindowFromControlName (
controlName : String,
throwExceptionIfNotFound : boolean
) : IntPtr
Parameters
- controlName
Specifies the name of the control.
- throwExceptionIfNotFound
If true, throws DataDrivenAdapterException if the window is not found.
Return Value
Handle of a control
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also
Reference
JavaDataDrivenAdapter Class
JavaDataDrivenAdapter Members
Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.