編輯

共用方式為


XmlDocumentFragment(XmlDocument) Constructor

Definition

Initializes a new instance of the XmlDocumentFragment class.

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)

Parameters

ownerDocument
XmlDocument

The XML document that is the source of the fragment.

Remarks

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

Applies to