IHTMLStyle::getAttributeIHTMLStyle::getAttribute*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLStyle::get_zIndex
*Next Topic: IHTMLStyle::put_background

IHTMLStyle::getAttribute


HRESULT getAttribute( 
    BSTR strAttributeName, 
    LONG fFlags, 
    VARIANT *AttributeValue 
);

Retrieves the value of the given attribute.

strAttributeName
String specifying the name of the attribute to retrieve.
fFlags
Long integer that receives the flags.
AttributeValue
Address of a variable that receives a string, number, or Boolean value as defined by the attribute. If the attribute is not present, this method returns NULL.

If two or more attributes have the same name (differing only in uppercase and lowercase letters) and fFlags is FALSE, this method retrieves values only for the last attribute (the last to be created with this name). All other attributes of the same name are ignored.

See also setAttribute


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.