IHTMLRuleStyle::setAttributeIHTMLRuleStyle::setAttribute*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLRuleStyle::get_filter
*Next Topic: IHTMLRuleStyle::getAttribute

IHTMLRuleStyle::setAttribute


HRESULT setAttribute(
    BSTR strAttributeName,
    VARIANT AttributeValue,
    LONG lFlags 
);

Sets the value of the given attribute. If the attribute is not already present, the method adds the attribute to the element and sets the value.

strAttributeName
String specifying the name of the attribute to set.
AttributeValue
String, number, or Boolean value to assign to the attribute.
lFlags
Long integer value that specifies the flags.

See also getAttribute


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