Gets or sets the persisted representation of the style rule.
HRESULT IHTMLRuleStyle::get_cssText(BSTR *p);HRESULT IHTMLRuleStyle::put_cssText(BSTR v);
- Pointer to a variable of type BSTR that receives the text.
- BSTR that specifies the text.
Returns one of the following values.
S_OK The operation completed successfully. W3CException_DOM_SYNTAX_ERR An invalid string value is specified. W3CException_DOM_INVALID_MODIFICATION_ERR The underlying object type cannot be modified. W3CException_DOM_HIERARCHY_REQUEST_ERR The node cannot be inserted at the requested location. W3CException_DOM_NO_MODIFICATION_ALLOWED_ERR An attempt is made to modify an object that cannot be changed.
This property reflects the current state of the rule and not its initial value.