Retrieves the initial contents of a password or text control or the TEXTAREA element.
Syntax
HRESULT get_defaultValue( BSTR *p );
Parameters
- p
- Address of a variable that receives the initial contents.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
This value can be changed programmatically but has no effect on the appearance, or on how forms are submitted.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
Sets the initial contents of a password or text control or the TEXTAREA element.
Syntax
HRESULT put_defaultValue( BSTR v );
Parameters
- v
- String that specifies the initial contents.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
This value can be changed programmatically but has no effect on the appearance, or on how forms are submitted.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0