XmlDocument.ParentNode 属性

定义

获取该节点的父节点(针对可以拥有父级的节点)。Gets the parent node of this node (for nodes that can have parents).

public:
 virtual property System::Xml::XmlNode ^ ParentNode { System::Xml::XmlNode ^ get(); };
public override System.Xml.XmlNode ParentNode { get; }
member this.ParentNode : System.Xml.XmlNode
Public Overrides ReadOnly Property ParentNode As XmlNode

属性值

始终返回 nullAlways returns null.

适用于