Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

GetChildAt

« nsIAccessible Page

Summary

This method returns Nth accessible child using zero-based index.

 nsIAccessible getChildAt(
   in long aChildIndex
 );

Parameters

aChildIndex
[in] The index of the Nth child.

Return value

Returns Nth accessible child using zero-based index. If child index is less than zero then returns last child. If child index is greater than children count then returns null.

Exceptions thrown
Edit section

NS_ERROR_FAILURE
Indicates that the accessible is unattached from the accessible tree.

See Also

Document Tags and Contributors

 Contributors to this page: teoli, Surkov.alexander
 Last updated by: teoli,