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