Removes this document from the document tree.
HRESULT Detach();
This method takes no parameters.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Value | Description |
---|---|
S_OK | The method succeeded. |
This method removes this document from the document tree.