WinDataDrivenAdapter.FindAccObj(String, Boolean, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.