Sets or retrieves the selection state of this element.
HRESULT IHTMLElement5::get_ariaSelected(BSTR *p);HRESULT IHTMLElement5::put_ariaSelected(BSTR v);
- Pointer to a variable of type BSTR that receives the selection state.
- BSTR that specifies the selection state.
true The element is selected. false The element is not selected. undefined Default. The element state is unknown.
Returns S_OK if successful, or an error value otherwise.
Selecting an element indicates that it is chosen for an action, and most likely has focus.