Share via


WinDataDrivenAdapter.FindAccObj(String, Boolean, Int32) Method

Definition

Finds the accessibility object using the control name.

protected:
 Accessibility::IAccessible ^ FindAccObj(System::String ^ controlName, bool throwExceptionIfNotFound, [Runtime::InteropServices::Out] int % childId);
protected Accessibility.IAccessible FindAccObj (string controlName, bool throwExceptionIfNotFound, out int childId);
member this.FindAccObj : string * bool * int -> Accessibility.IAccessible
Protected Function FindAccObj (controlName As String, throwExceptionIfNotFound As Boolean, ByRef childId As Integer) As IAccessible

Parameters

controlName
String

Specifies the name of the control.

throwExceptionIfNotFound
Boolean

Contains a Boolean value that, when true, throws DataDrivenAdapterException if the control isn’t found.

childId
Int32

Specifies the ID of the next child control.

Returns

Returns the accessibility object for a control.

Applies to