JavaDataDrivenAdapter.FindWindowFromControlName Method (String, Boolean)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Finds the handle of a control.

Namespace:   Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter
Assembly:  Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter (in Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.dll)

Syntax

protected IntPtr FindWindowFromControlName(
    string controlName,
    bool throwExceptionIfNotFound
)
Protected Function FindWindowFromControlName (
    controlName As String,
    throwExceptionIfNotFound As Boolean
) As IntPtr

Parameters

  • controlName
    Type: System.String

    Specifies the name of the control.

  • throwExceptionIfNotFound
    Type: System.Boolean

    If true, throws DataDrivenAdapterException if the window is not found.

Return Value

Type: System.IntPtr

Handle of a control

See Also

JavaDataDrivenAdapter Class
Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright