This interface represents a hyperlink associated with a single substring of text or single non-text object. Non-text objects can have either a single link or a collection of links such as when the non-text object is an image map.
Linked objects and anchors are implementation dependent. This interface is derived from IAccessibleAction. IAccessibleAction::nActions indicates the maximum value for the indices used with the methods of this interface.
Furthermore, the object that implements this interface has to be connected implicitly or explicitly with an object that implements IAccessibleText. IAccessibleHyperlink::startIndex and IAccessibleHyperlink::endIndex are indices with respect to the text exposed by IAccessibleText.
Public Member Functions
|HRESULT||doAction ([in] long actionIndex)|
|Performs the specified Action on the object. |
|HRESULT||nActions ([out, retval] long *nActions)|
|Returns the number of accessible actions available in this object. |
|VARIANT||anchor ([in] long index)|
|Returns an object that represents the link anchor, as appropriate for the link at the specified index. |
|VARIANT||anchorTarget ([in] long index)|
|Returns an object representing the target of the link, as appropriate for the link at the specified index. |
|BSTR||description ([in] long actionIndex)|
|Returns a description of the specified action of the object. |
|Returns the index at which the textual rerpesentation of the hyperlink ends. |
|long||keyBinding ([in] long actionIndex,[in] long nMaxBinding,[out, size_is(, nMaxBinding), length_is(,*nBinding)] BSTR keyBinding)|
|Returns an array of BSTRs describing one or more key bindings, if there are any, associated with the specified action. |
|BSTR||localizedName ([in] long actionIndex)|
|Returns the localized name of specified action. |
|BSTR||name ([in] long actionIndex)|
|Returns the non-localized name of specified action. |
|Returns the index at which the textual representation of the hyperlink starts. |
|Returns whether the target object referenced by this link is still valid. |