role property
[This documentation is preliminary and is subject to change.]
Sets or retrieves the role for this element.
Syntax
HRESULT value = object.put_role(BSTR v);HRESULT value = object.get_role(BSTR* p);
Property values
Type: BSTR
the role.
Remarks
In compliance with the Accessible Rich Internet Applications (ARIA) specification, Windows Internet Explorer 8 will override implicit roles in favor of roles provided by a Web author.
Build date: 6/12/2012