Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Returns the root of the document that contains this node.
Syntax
HRESULT get_ownerDocument( IDOMDocument ** DOMDocument);
Parameters
- DOMDocument
- [out] Address of the parent document object that represents the root of the document.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
This property indicates the document to which this node belongs.
All nodes are created in the context of a document, and the ownerDocument property is maintained until the node is added to another document. For a node removed from a document, this property indicates the document in which the node was last included.
See Also
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.