Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes or detaches an object and associated resources.
![]() ![]() |
Syntax
HRESULT retVal = object.detach();
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. |
InvalidStateError | If IHTMLDOMRange::detach has been invoked on the object. |