value property

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

Gets or sets the value of the object.


HRESULT value = object.put_value(BSTR v);HRESULT value = object.get_value(BSTR* p);

Property values

Type: BSTR

the value.

Standards information


Windows Internet Explorer 8 or later. In IE8 Standards mode, the IHTMLDOMAttribute2::value property is correctly reported as a canonical attribute name. For example, <input type="text" readonly> and <input type="text" readonly="readonly"> would both set the input text field to read-only. In IE8 mode, the value is evaluated as a canonical value, "readonly". In earlier document compatibility modes, it is evaluated as a Boolean value, VARIANT_TRUE. For more information, see Attribute Differences in Internet Explorer 8.

IHTMLDOMAttribute2::value was introduced in Microsoft Internet Explorer 6.

See also




Build date: 6/12/2012