GetAccessibleRelated

« nsIAccessible Page

Summary

This method returns an accessible related to this one by the given relation type.

 nsIAccessible getAccessibleRelated(
   in unsigned long aRelationType
 );

Parameters

aRelationType
[in] The relation type between the accessible (See constants listed in relations documentation).

Return value

Returns an accessible which is related to the one provided by the given relation type.

Exceptions thrown

NS_ERROR_FAILURE
Indicates that the accessible is unattached from the accessible tree.
NS_ERROR_NOT_IMPLEMENTED
Indicates that the given relation type is unsupported

See Also