detach method
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. |