Click to return to the Reusing Browser Technology home page    
IElementBehavior Interfac...     IElementBehavior::Init Me...     IElementBehavior Interfac...    
Web Workshop  |  Reusing Browser Technology

IElementBehavior::Detach Method


Notifies the Dynamic HTML (DHTML) behavior that it is being detached from an element.

Syntax

HRESULT Detach();

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

The Detach method notifies the DHTML behavior when the document unloads, or when the behavior is removed through a call to removeBehavior or as a result of a cascading style sheets (CSS) style change.



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.