defaultValue property

Sets or retrieves the initial contents of the object.

Syntax

HRESULT value = object.put_defaultValue( v);HRESULT value = object.get_defaultValue(* p);

Property values

Type: BSTR

the initial value of the object.

Standards information

Remarks

The value of the property can be changed programmatically, but doing so has no effect on the appearance of the object or the submitted value. It does, however, change the initial value of the object when the form is reset.