ParentNode Property

XmlDocumentFragment.ParentNode Property


Gets the parent of this node (for nodes that can have parents).

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public override XmlNode ParentNode { get; }

Property Value

Type: System.Xml.XmlNode

The parent of this node.

For XmlDocumentFragment nodes, this property is always null.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft