Removes the specified behavior from the list of behaviors influencing this element.
Syntax
HRESULT removeBehavior( long behaviorID, VARIANT_BOOL *pfResult );
Parameters
- behaviorID
- Long variable that returns a handle obtained from the addBehavior method, representing the behavior's ID.
- pfResult
- Address of a VARIANT Boolean structure returning TRUE or FALSE depending on success or failure of the method.
Return Value
Returns S_OK if successful, or an error code otherwise.
See Also