add_element_collection


Description:

public virtual bool add_element_collection (DomNode parent, out DomNode element) throws Error

Creates a new DomElement and append it as a child of parent: for current read node, only if parent: have a property as Collection type and current node have same local name as collection Collection.items_name

Returns: true if element is set to a new object, it is set as a child of parent: and has been added to a parent:'s collection property.