Share via


XMLNode.OwnerDocument Property 

Returns a Document object that represents the parent document of the specified XML element.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim xMLNode1 As XMLNode

Dim returnValue As Document
returnValue = xMLNode1.OwnerDocument

Syntax

ReadOnly Property OwnerDocument() As Document
Document OwnerDocument {get;}
property Document^ OwnerDocument{
    Document^ get();
}
public Document get_OwnerDocument();
function get OwnerDocument() : Document;

Remarks

The OwnerDocument property returns the same results as the Parent property.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

XMLNode Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

XMLNode Members