Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IHTMLElement2::removeExpression method

This element is obsolete and should no longer be used. Removes the expression from the specified property.

Syntax


Boolean* removeExpression(
  [in]  String sPropertyName
);

Parameters

sPropertyName [in]

String that specifies the name of the property from which to remove an expression.

Return value

C++

Return valueDescription
true

The expression was successfully removed.

false

The expression was not removed.

 

JavaScript

Returns one of the following possible values:
Return valueDescription
true

The expression was successfully removed.

false

The expression was not removed.

 

Remarks

After the expression is removed from the specified property, the value of the property equals the last computed value of the expression. To remove expressions set by the setExpression method, use removeExpression.

The following syntax sections show how to remove an expression from supported Cascading Style Sheets (CSS) attributes and DHTML Properties.

  • Use this syntax to remove an expression from a read/write property or from an expando property.
    
    object.removeExpression(sPropertyName)
    
    
  • Use this syntax to remove an expression from a CSS attribute.
    
    object.style.removeExpression(sPropertyName)
    
    

See also

IHTMLElement2
IHTMLStyle2
runtimeStyle
style
Reference
getExpression
recalc
Conceptual
About Dynamic Properties

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.