detach method
[This documentation is preliminary and is subject to change.]
Removes or detaches an object and associated resources.
![]() ![]() |
Syntax
HRESULT retVal = object.detach();
Standards information
Parameters
This method has no parameters.
Return value
Type: HRESULT
This method can return one of these values.
| Return code | Description |
|---|---|
| S_OK | The operation completed successfully. |
| W3CException_DOM_INVALID_STATE | If detach has been invoked on the object. |
Build date: 1/26/2012
.png)
.png)