Click to return to the Reusing Browser Technology home page    
IHTMLElement2::removeBeha...     IHTMLElement2::removeFilt...     IHTMLElement2 Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLElement2::removeExpression Method


Removes 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 is successfully removed, or VARIANT_FALSE if it is 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.