XmlDocumentFragment(XmlDocument) 构造函数

定义

初始化 XmlDocumentFragment 类的新实例。

protected public:
 XmlDocumentFragment(System::Xml::XmlDocument ^ ownerDocument);
protected internal XmlDocumentFragment (System.Xml.XmlDocument ownerDocument);
new System.Xml.XmlDocumentFragment : System.Xml.XmlDocument -> System.Xml.XmlDocumentFragment
Protected Friend Sub New (ownerDocument As XmlDocument)

参数

ownerDocument
XmlDocument

为片段源的 XML 文档。

注解

Do not instantiate an XmlDocumentFragment directly; instead, use methods such as CreateDocumentFragment.

适用于