Create(String, String):IDataObject

Creates a new data object underneath the current data object.

After creation the data object is returned.

Parameter

name

Type: System.String

This parameter represents the name of the new data object. If a data object with the name already exists in the same level, then a DataObjectAlreadyExistsException is triggered.

xmlData

Type: System.String

This parameter is a character string in the form of an Xml. Based on the schemaLocation at the "root" element of the Xml, onion.net recognises the schema the data object is to follow and validates the transferred data at the time of creation.