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

 Last updated by: teoli,