cloneContents method
[This documentation is preliminary and is subject to change.]
Returns a document fragment containing the nodes of a range. If any nodes are partially selected, their start or end nodes are included.
HRESULT retVal = object.cloneContents();
ppDocumentFragment [out, retval]
Type: IDispatchAddress of a pointer to an IHTMLDocument interface that receives a document object.
Type: HRESULT
This method can return one of these values.
Return code | Description |
---|---|
S_OK | The operation completed successfully. |
W3CException_DOM_INVALID_STATE | detach has been invoked on the object. |
W3Exception_DOM_HIERARCHY_REQUEST_ERR | A document type node is included in the range that is being cloned. |
Build date: 1/26/2012