other-licenses/ia2/AccessibleRelation.idlNot scriptableIUnknown
Last changed in Gecko 1.9 (Firefox 3)[propget] HRESULT localizedRelationType([out] BSTR localizedRelationType ); |
[propget] HRESULT nTargets([out] long nTargets ); |
[propget] HRESULT relationType([out] BSTR relationType ); |
[propget] HRESULT target([in] long targetIndex, [out] IUnknown target ); |
[propget] HRESULT targets([in] long maxTargets, [out, size_is(maxTargets), length_is( nTargets)] IUnknown targets, [out] long nTargets ); |
Returns a localized version of the relation type.
[propget] HRESULT localizedRelationType( [out] BSTR localizedRelationType );
localizedRelationTypeS_OK.
Returns the number of targets() for this relation.
[propget] HRESULT nTargets( [out] long nTargets );
nTargetsS_OK.
Returns the type of the relation.
[propget] HRESULT relationType( [out] BSTR relationType );
relationTypeS_OK.
Returns one accessible relation target.
[propget] HRESULT target( [in] long targetIndex, [out] IUnknown target );
targetIndextargetE_INVALIDARG if bad [in] passed, [out] value is null. S_FALSE if there is nothing to return, [out] value is null. S_OK.
Returns multiple accessible relation targets.
[propget] HRESULT targets( [in] long maxTargets, [out, size_is(maxTargets), length_is( nTargets)] IUnknown targets, [out] long nTargets );
maxTargetstargetsIUnknown to get the IAccessible2.nTargetsS_FALSE if there is nothing to return, nTargets() is set to 0. S_OK.