XmlDocument.OwnerDocument 属性

定义

获取当前节点所属的 XmlDocument

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

属性值

XmlDocument

对于 XmlDocument 节点(NodeType 等于 XmlNodeType.Document),该属性总是返回 null

适用于