insert

insert(object, object)

Inserts the specified DataElement at the given index. If a DataElement with the same ElementID already exists, it will be replaced.

insert(index, node)
ParameterTypeDescription
indexobjectThe zero-based index at which the element should be inserted.
nodeobjectThe DataElement instance to insert or replace at the target position.

Return Value

The

DataElement that was inserted or used to replace an existing entry.

See Also