ownerDocument Property
Returns the root of the document that contains the node.
var objXMLDOMDocument = oXMLDOMNode.ownerDocument;
HRESULT get_ownerDocument(
IXMLDOMDocument** DOMDocument
);
General Remarks
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
Last updated on Saturday, April 10, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.