 | 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.SchemaAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic virtual XElement AddNew(
XElement parent,
XName childName,
Object content
)
Public Overridable Function AddNew (
parent As XElement,
childName As XName,
content As Object
) As XElement
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
XElementThe created XML element.
See Also