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
- 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.