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.