WinDataDrivenAdapter.FindAccObj Method
Finds the accessibility object using the control name.
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 childId As Integer
Dim returnValue As IAccessible
returnValue = Me.FindAccObj(controlName, throwExceptionIfNotFound, childId)
Syntax
'Declaration
Protected Function FindAccObj ( _
controlName As String, _
throwExceptionIfNotFound As Boolean, _
<OutAttribute> ByRef childId As Integer _
) As IAccessible
protected IAccessible FindAccObj (
string controlName,
bool throwExceptionIfNotFound,
out int childId
)
protected:
IAccessible^ FindAccObj (
String^ controlName,
bool throwExceptionIfNotFound,
[OutAttribute] int% childId
)
protected IAccessible FindAccObj (
String controlName,
boolean throwExceptionIfNotFound,
/** @attribute OutAttribute() */ /** @ref */ int childId
)
Parameters
- controlName
Specifies the name of the control.
- throwExceptionIfNotFound
Contains a Boolean value that, when true, throws DataDrivenAdapterException if the control isn’t found.
- childId
Specifies the ID of the next child control.
Return Value
Returns the accessibility object for 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
WinDataDrivenAdapter Class
WinDataDrivenAdapter Members
Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.