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)

Syntax

'Declaration
ReadOnly Property OwnerDocument As Document
    Get
'Usage
Dim instance As XMLNode
Dim value As Document

value = instance.OwnerDocument
Document OwnerDocument { get; }

Property Value

Type: Microsoft.Office.Interop.Word.Document

Remarks

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

See Also

Reference

XMLNode Interface

XMLNode Members

Microsoft.Office.Interop.Word Namespace