ownerDocument Property (Windows CE 5.0)
Returns the root of the document that contains the node.
var objXMLDOMDocument = oXMLDOMNode.ownerDocument;
Script Return Value
Object. Returns the parent document that represents the root of the document with this node.
HRESULT get_ownerDocument(IXMLDOMDocument** DOMDocument);
[out, retval] Address of the parent document object that represents the root of the document.
C/C++ Return Values
Value returned if successful.
Value returned if DOMDocument is Null.
OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.
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.
This property is read-only, and applies to the following objects and interfaces:
IXMLDOMAttribute, IXMLDOMCDATASection, IXMLDOMCharacterData, IXMLDOMComment, DOMDocument, IXMLDOMDocumentFragment, IXMLDOMDocumentType, IXMLDOMElement, IXMLDOMEntity, IXMLDOMEntityReference, IXMLDOMNode, IXMLDOMNotation, IXMLDOMProcessingInstruction, IXMLDOMText, and IXTLRuntime
Send Feedback on this topic to the authors