Click to return to the Reusing Browser Technology home page    
IHTMLStyle2::getExpressio...     IHTMLStyle2::setExpressio...     IHTMLStyle2 Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLStyle2::removeExpression Method


Retrieves the expression for the given property.

Syntax

HRESULT removeExpression(
    BSTR sPropertyName, 
    VARIANT_BOOL *pbSuccess
    );

Parameters

sPropertyName
String (BSTR) that specifies the name of the property from which to remove an expression.
pbSuccess
Address of a VARIANT Boolean structure that returns VARIANT_TRUE if the expression was successfully removed, or VARIANT_FALSE if not.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

The value of the property after the expression has been removed is equal to the last computed value of the expression.

See Also

getExpression, setExpression



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.