Click or drag to resize

XDocumentWrapperDocument(XNode) Method

Gets the XDocument wrapper which contains the specified XML node. If the node is not contained in an XML document, no document is returned.

Namespace: Aml.Engine.XML
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static IDocument Document(
	XNode node
)

Parameters

node  XNode
The XML node.

Return Value

IDocument
The XDocument wrapper, containing the XML node.
Exceptions
ExceptionCondition
ArgumentNullExceptionXML node is null.
See Also