Click or drag to resize

XDocumentWrapper Methods

The XDocumentWrapper type exposes the following members.

Methods
 NameDescription
Public methodDispose Dispose
Public methodStatic memberDocument(IXMLWrapper) Gets the XDocument wrapper which contains the specified object. If the object has not been inserted into a document, no document is returned.
Public methodStatic memberDocument(XNode) Gets the XDocument wrapper which contains the specified XML node. If the node is not contained in an XML document, no document is returned.
Public methodSaveToFile Saves the document to the specified file path.
Public methodSaveToStream Saves the document to the specified file path.
Public methodUnload Unloads this document instance.
Public methodXName Gets the correct XName for the provided element name (Tag name).The XName contains a namespace, if the assigned schema requires a namespace. If no namespace is defined for the assigned schema, no namespace is added to the XName. The XName has to be used for all Xml.Linq queries, used to access objects with the element name.
Top
See Also