other-licenses/ia2/AccessibleRelation.idl
Not 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 );
localizedRelationType
S_OK.
Returns the number of targets()
for this relation.
[propget] HRESULT nTargets( [out] long nTargets );
nTargets
S_OK.
Returns the type of the relation.
[propget] HRESULT relationType( [out] BSTR relationType );
relationType
S_OK.
Returns one accessible relation target.
[propget] HRESULT target( [in] long targetIndex, [out] IUnknown target );
targetIndex
target
E_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 );
maxTargets
targets
IUnknown
to get the IAccessible2
.nTargets
S_FALSE if there is nothing to return, nTargets()
is set to 0. S_OK.