Click to return to the Reusing Browser Technology home page    
IHTMLCurrentStyle::get_zI...     IHTMLDatabinding Interfac...     IHTMLCurrentStyle Interfa...    
Web Workshop  |  Reusing Browser Technology

IHTMLCurrentStyle::getAttribute Method


Retrieves the current value of the specific style attribute of the element.

Syntax

HRESULT getAttribute(
    BSTR strAttributeName,
    long LFlags,
    VARIANT *AttributeValue
);

Parameters

strAttributeName
String (BSTR) that contains the style attribute name of the element.
LFlags
Long integer value that is set to zero.
AttributeValue
Address of a VARIANT structure returning the specific style attribute of the element.

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.