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.

GetRelation

« nsIAccessible Page

Summary

This method returns accessible relation for this accessible object by index.

 nsIAccessibleRelation getRelation(
   in unsigned long aIndex
 );

Parameters

aIndex
[in] The index for which relation is to be retrieved.

Return value

Returns nsIAccessibleRelation object for this accessible.

Exception thrown
Edit section

NS_ERROR_INVALID_ARG
Indicates that the given index is invalid.

Remark

Currently we do not support multiple relations so the zero index may be valid only. Refer to relations documentation for more info.

See Also

Document Tags and Contributors

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