XmlDocProvider.Import Method

Namespace
Kampute.DocToolkit.XmlDoc
Assembly
  • Kampute.DocToolkit.dll

Definition

Imports XML documentation of members from the specified XML document.
public virtual void Import(XDocument document)

Parameters

document XDocument
The XML document to import.

Exceptions

ArgumentNullException
Thrown when document is null.

Remarks

This method adds the XML documentation of members from the provided XML document to the current provider's collection. If the XML document contains members with the same name as existing members, the new members replace the existing ones.
This method does not resolve any include elements in the XML document. To resolve include elements, use the XmlDocProvider.ResolveIncludes(XDocument, string) method before the import.

See Also