defaultSelected property

[This documentation is preliminary and is subject to change.]

Sets or retrieves the status of an option.

Syntax

HRESULT value = object.put_defaultSelected(VARIANT_BOOL v);HRESULT value = object.get_defaultSelected(VARIANT_BOOL* p);

Property values

Type: VARIANT_BOOL

VARIANT_TRUE (true)

Default. Option is selected by default.

VARIANT_FALSE (false)

Option is not selected by default.

Standards information

Remarks

The property can be changed programmatically, but doing so has no effect on the appearance of the option or the submitted value. The property does change the appearance of the selected option if the form is reset.

See also

IHTMLOptionElement::selected

 

 

Build date: 6/12/2012