WinDataDrivenAdapter.FindAccObj Method (String, Boolean, Int32)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
Finds the accessibility object using the control name.
Namespace: Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter
Assembly: Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter (in Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.dll)
Syntax
protected IAccessible FindAccObj(
string controlName,
bool throwExceptionIfNotFound,
out int childId
)
Protected Function FindAccObj (
controlName As String,
throwExceptionIfNotFound As Boolean,
<OutAttribute> ByRef childId As Integer
) As IAccessible
Parameters
controlName
Type: System.StringSpecifies the name of the control.
throwExceptionIfNotFound
Type: System.BooleanContains a Boolean value that, when true, throws DataDrivenAdapterException if the control isn’t found.
childId
Type: System.Int32Specifies the ID of the next child control.
Return Value
Type: Accessibility.IAccessible
Returns the accessibility object for a control.
See Also
WinDataDrivenAdapter Class
Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter Namespace
Return to top
Unified Service Desk 2.0
© 2016 Microsoft. All rights reserved. Copyright