Click to return to the Reusing Browser Technology home page    
IHTMLDOMAttribute::get_na...     IHTMLDOMAttribute::specif...     IHTMLDOMAttribute Interfa...    
Web Workshop  |  Reusing Browser Technology

IHTMLDOMAttribute::get_value Method


Retrieves the value of the Document Object Model (DOM) attribute.

Syntax

HRESULT get_value(
    VARIANT *p
);

Parameters

p
Address of a VARIANT structure that contains the DOM attribute name.

Return Value

Returns S_OK if successful, or an error code otherwise.

IHTMLDOMAttribute::put_value Method


Sets the value of the Document Object Model (DOM) attribute.

Syntax

HRESULT put_value(
    VARIANT v
);

Parameters

v
VARIANT structure that contains the script to set.

Return Value

Returns S_OK if successful, or an error code otherwise.



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.