Click or drag to resize

XmlSchemaManagerAddNew Method

Creates a new Xml-Element with the provided content and inserts it to the provided parent according to this schema instance.

Namespace: Aml.Engine.Schema
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public virtual XElement AddNew(
	XElement parent,
	XName childName,
	Object content
)

Parameters

parent  XElement
The parent XML element.
childName  XName
The name of the child element.
content  Object
Initial content of the child.

Return Value

XElement
The created XML element.
See Also