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.
- Returns S_OK if successful, or an error value otherwise.
- 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
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.