Click to return to the Reusing Browser Technology home page    
IHTMLTextAreaElement::get...     IHTMLTextAreaElement::get...     IHTMLTextAreaElement Inte...    
Web Workshop  |  Reusing Browser Technology

IHTMLTextAreaElement::get_defaultValue Method


Retrieves the default value of the TEXTAREA element.

Syntax

HRESULT get_defaultValue(
    BSTR *p 
);

Parameters

p
Address of a string (BSTR) that receives the default value.

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 nor on how forms are submitted.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

IHTMLTextAreaElement::put_defaultValue Method


Sets the default value of the TEXTAREA element.

Syntax

HRESULT put_defaultValue(
    BSTR v 
);

Parameters

v
String (BSTR) that specifies the default value to set.

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, nor on how forms are submitted.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.